Class: Charging::ChargeAccount::Collection
- Inherits:
-
Charging::Collection
- Object
- SimpleDelegator
- Charging::Collection
- Charging::ChargeAccount::Collection
- Defined in:
- lib/charging/charge_account.rb
Instance Attribute Summary
Attributes inherited from Charging::Collection
Instance Method Summary collapse
-
#initialize(domain, response) ⇒ Collection
constructor
A new instance of Collection.
- #load_object_with(attributes) ⇒ Object
Methods inherited from Charging::Collection
Constructor Details
#initialize(domain, response) ⇒ Collection
Returns a new instance of Collection.
160 161 162 |
# File 'lib/charging/charge_account.rb', line 160 def initialize(domain, response) super(response, domain: domain) end |
Instance Method Details
#load_object_with(attributes) ⇒ Object
164 165 166 |
# File 'lib/charging/charge_account.rb', line 164 def load_object_with(attributes) ChargeAccount.load_persisted_charge_account(attributes, last_response, @domain) end |