forked from berserker/microblog
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
339 B
16 lines
339 B
class FetchEntryService < BaseService
|
|
# Knowing nothing but the URL of a remote status, create a local representation of it and return it
|
|
# @param [String] url Atom URL
|
|
# @return [Status]
|
|
def call(url)
|
|
body = http_client.get(url)
|
|
xml = Nokogiri::XML(body)
|
|
# todo
|
|
end
|
|
|
|
private
|
|
|
|
def http_client
|
|
HTTP
|
|
end
|
|
end
|
|
|