Method: WebPay::CardResponse#initialize

Defined in:
lib/webpay/data_types.rb

#initialize(hash = {}) ⇒ CardResponse

Returns a new instance of CardResponse.



348
349
350
351
# File 'lib/webpay/data_types.rb', line 348

def initialize(hash = {})
  hash = normalize_hash(hash)
  @attributes = hash
end