Sha256: 7d6b3a15486952eec92bed4bb0464596dbbc80134b85161f518683e9805e351a

Contents?: true

Size: 233 Bytes

Versions: 1

Compression:

Stored size: 233 Bytes

Contents

module Shipay
  class WalletList < Model
    def self.url(*params)
      ["/v1/#{ CGI.escape underscored_class_name }s", *params].join '/'
    end

    def self.all()
      Shipay::Request.get(url).call(class_name)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shipay-0.1.5 lib/shipay/resources/wallet_list.rb