Module: BridgeBankin::ObjectTypes
- Defined in:
- lib/bridge_bankin/object_types.rb
Overview
Supported resources types
Class Method Summary collapse
-
.resource_types_to_classes ⇒ Account, ...
Matches API resources with corresponding gem classes.
Class Method Details
.resource_types_to_classes ⇒ Account, ...
Matches API resources with corresponding gem classes
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/bridge_bankin/object_types.rb', line 13 def self.resource_types_to_classes { Account::RESOURCE_TYPE => Account, Bank::RESOURCE_TYPE => Bank, Category::RESOURCE_TYPE => Category, Item::RESOURCE_TYPE => Item, Stock::RESOURCE_TYPE => Stock, Transaction::RESOURCE_TYPE => Transaction, Transfer::RESOURCE_TYPE => Transfer, User::RESOURCE_TYPE => User } end |