Class: Charging::Domain::Collection
- Inherits:
-
Collection
- Object
- SimpleDelegator
- Collection
- Charging::Domain::Collection
- Defined in:
- lib/charging/domain.rb
Instance Attribute Summary
Attributes inherited from Collection
Instance Method Summary collapse
-
#initialize(account, response) ⇒ Collection
constructor
A new instance of Collection.
- #load_object_with(attributes) ⇒ Object
Methods inherited from Collection
Constructor Details
#initialize(account, response) ⇒ Collection
Returns a new instance of Collection.
155 156 157 |
# File 'lib/charging/domain.rb', line 155 def initialize(account, response) super(response, account: account) end |
Instance Method Details
#load_object_with(attributes) ⇒ Object
159 160 161 |
# File 'lib/charging/domain.rb', line 159 def load_object_with(attributes) Domain.load_persisted_domain(attributes, last_response, @account) end |