Module: Iugu::APIFetch::ClassMethods
- Defined in:
- lib/iugu/api_fetch.rb
Instance Method Summary collapse
Instance Method Details
#fetch(options = nil, token = nil) ⇒ Object
17 18 19 20 21 |
# File 'lib/iugu/api_fetch.rb', line 17 def fetch( = nil, token = nil) Iugu::Factory.create_from_response( self.object_type, APIRequest.request("GET", self.url(), {}, token) ) end |