lib/scanpay.rb
# seq: Get array of changes since the reqested sequence number
Get array of changes since the reqested sequence number
Get array of changes since the reqested sequence number
def seq(num, opts={})
      if !num.is_a? Integer
        raise ArgumentError, 'first argument is not an integer'
      end
      o = request('/v1/seq/' + num.to_s, nil, opts)
      return o if (o['changes'].kind_of? Array) && (o['seq'].is_a? Integer)
      raise 'invalid response from server'
    end
def seq ( num , opts = { } ) if ! num . is_a? Integer raise ArgumentError , 'first argument is not an integer' end o = request ( '/v1/seq/' + num . to_s , nil , opts ) return o if ( o [ 'changes' ] . kind_of? Array ) && ( o [ 'seq' ] . is_a? Integer ) raise 'invalid response from server' end
seq: Get array of changes since the reqested sequence number
seq : Get array of changes since the reqested sequence number
num
<not_specific>
opts
<not_specific>