Class: Economic::Repos::Customers::Contact

Inherits:
Economic::Repo show all
Defined in:
lib/economic/repos/customers/contact.rb

Constant Summary

Constants inherited from Economic::Repo

Economic::Repo::DEFAULT_QUERY_PARAMS, Economic::Repo::ROOT

Instance Attribute Summary

Attributes inherited from Economic::Repo

#credentials

Instance Method Summary collapse

Methods inherited from Economic::Repo

#all, #create, #destroy, #find, #update

Constructor Details

#initialize(parent, credentials: Economic::Credentials.fetch!) ⇒ Contact

Returns a new instance of Contact.



5
6
7
8
# File 'lib/economic/repos/customers/contact.rb', line 5

def initialize(parent, credentials: Economic::Credentials.fetch!)
  @parent = parent
  super(credentials:)
end