Sha256: 474055909cb3dc728668650f37dc8bfb7eb50cb3b3eb65ddd8ef8a8667faddc7

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

module BridgeBankin
  module ObjectTypes
    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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bridge_bankin-0.1.0 lib/bridge_bankin/object_types.rb