class SpikePay::ErrorBody

Attributes

attributes[R]

Public Class Methods

fields() click to toggle source
# File lib/spike_pay/data_types.rb, line 352
def self.fields
  ['message', 'type', 'code', 'param']
end
new(hash = {}) click to toggle source
# File lib/spike_pay/data_types.rb, line 357
def initialize(hash = {})
  hash = normalize_hash(hash)
  @attributes = hash
end

Public Instance Methods

code() click to toggle source
# File lib/spike_pay/data_types.rb, line 371
def code
  attributes['code']
end
message() click to toggle source

attributes accessors

# File lib/spike_pay/data_types.rb, line 363
def message
  attributes['message']
end
param() click to toggle source
# File lib/spike_pay/data_types.rb, line 375
def param
  attributes['param']
end
type() click to toggle source
# File lib/spike_pay/data_types.rb, line 367
def type
  attributes['type']
end