Class: Economic::Repos::Customers::Contact
- Inherits:
-
Economic::Repo
- Object
- Economic::Repo
- Economic::Repos::Customers::Contact
- 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
Instance Method Summary collapse
-
#initialize(parent, credentials: Economic::Credentials.fetch!) ⇒ Contact
constructor
A new instance of Contact.
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 |