Sha256: bdc19887eb6dd7e5719aad3e2db16f17e2fd44ba1b0523b7501d7c79a6ddff7d

Contents?: true

Size: 679 Bytes

Versions: 1

Compression:

Stored size: 679 Bytes

Contents

module Unit
  class Institution < Util::APIResource
    attribute :routing_number, Types::String # Routing number of the institution. Valid 9-digit ABA routing transit number.
    attribute :name, Types::String # Name of the institution.
    attribute :address, Types::String # Optional. Address of the institution.
    attribute :is_ach_supported, Types::Boolean # Is FedACH participant.
    attribute :is_wire_supported, Types::Boolean # Is Fedwire participant.

    path '/institutions'

    include Util::ResourceOperations::Find

    def self.find_by(routing_number:)
      find(routing_number)
    end

    # Unit::Institution.find_by_routing_number('021000021')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unit-ruby-0.1.0 lib/unit-ruby/institution.rb