class Revolut::Api::Response::CardIssuer

Constants

MAPPING

Attributes

bin[RW]
card_brand[RW]
card_type[RW]
currency[RW]
logo_url[RW]
mapping[RW]
name[RW]
supported[RW]

Public Class Methods

new(hash = {}) click to toggle source
# File lib/revolut/api/response/card_issuer.rb, line 20
def initialize(hash = {})
  ::Revolut::Api::Response::CardIssuer::MAPPING.each do |revolut_key, accessor|
    self.send("#{accessor}=", hash.fetch(revolut_key, nil))
  end
end