class DataGov::API

Public Instance Methods

client() click to toggle source
# File lib/data_gov/API.rb, line 13
def client
  @client ||= DataGov::Client.new
end
harvest_object(id) click to toggle source
# File lib/data_gov/API.rb, line 9
def harvest_object(id)
  client.get("/harvest/object/#{id}")
end