Sha256: d898e747385325820d5a27d19369c8d308c3f18619424d80a3b53c8e51021546

Contents?: true

Size: 325 Bytes

Versions: 11

Compression:

Stored size: 325 Bytes

Contents

module BankingData
  class Bank

    def initialize(attributes = {})
      attributes.each do |name, value|
        send("#{name}=", value)
      end
    end

    class << self

      def where(options)
        Query.new(options)
      end

      def query
        Query.new(locale: self::LOCALE)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
banking_data-0.9.5 lib/banking_data/bank.rb
banking_data-0.9.4 lib/banking_data/bank.rb
banking_data-0.9.3 lib/banking_data/bank.rb
banking_data-0.9.2 lib/banking_data/bank.rb
banking_data-0.9.1 lib/banking_data/bank.rb
banking_data-0.9.0 lib/banking_data/bank.rb
banking_data-0.8.0 lib/banking_data/bank.rb
banking_data-0.7.2 lib/banking_data/bank.rb
banking_data-0.5.1 lib/banking_data/bank.rb
banking_data-0.5.0 lib/banking_data/bank.rb
banking_data-0.4.0 lib/banking_data/bank.rb