Sha256: 732fb7bd7f8fd7e36923fc5adb43c13969a4dec1159bf40b966b1c62a023375d
Contents?: true
Size: 326 Bytes
Versions: 4
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true require 'fractal_api/base_model' require 'fractal_api/paginator' module FractalApi class Bank < BaseModel attributes :id, :name, :pnglogo def self.all(filters = {}) Paginator.new('/banking/v2/banks', self) do |url| get(url, params: filters) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fractal_api-0.1.6 | lib/fractal_api/bank.rb |
fractal_api-0.1.5 | lib/fractal_api/bank.rb |
fractal_api-0.1.4 | lib/fractal_api/bank.rb |
fractal_api-0.1.3 | lib/fractal_api/bank.rb |