Class: Services::ConfiguredAccount
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Services::ConfiguredAccount
- Defined in:
- app/models/services/configured_account.rb
Instance Method Summary collapse
Instance Method Details
#account_mapping ⇒ Object
21 22 23 |
# File 'app/models/services/configured_account.rb', line 21 def account_mapping service_definition.third_party.account_mappings.where(account_id: account_id).first end |
#application_account ⇒ Object
17 18 19 |
# File 'app/models/services/configured_account.rb', line 17 def application_account ApplicationApi.api_impl.account_by_id(self.account_id) end |