class SpikePay::ChargeListRequest

Attributes

attributes[R]

Public Class Methods

create(params) click to toggle source
# File lib/spike_pay/data_types.rb, line 242
def self.create(params)
  return params if params.is_a?(self)
  hash = case params
    when Hash; params
    else
      raise WebPay::InvalidRequestError.new("#{self} does not accept the given value", params)
    end
  self.new(hash)
end
fields() click to toggle source
# File lib/spike_pay/data_types.rb, line 237
def self.fields
  ['limit']
end
new(hash = {}) click to toggle source
# File lib/spike_pay/data_types.rb, line 252
def initialize(hash = {})
  hash = normalize_hash(hash)
  @attributes = hash
end

Public Instance Methods

limit() click to toggle source

attributes accessors

# File lib/spike_pay/data_types.rb, line 258
def limit
  attributes['limit']
end