Class: ActionNetworkRest::Base

Inherits:
Vertebrae::Model
  • Object
show all
Defined in:
lib/action_network_rest/base.rb

Direct Known Subclasses

People, Petitions, Signatures, Taggings, Tags

Instance Method Summary collapse

Instance Method Details

#get(id) ⇒ Object



3
4
5
6
# File 'lib/action_network_rest/base.rb', line 3

def get(id)
  response = client.get_request "#{base_path}#{url_escape(id)}"
  object_from_response(response)
end