Sha256: 98f508db1da9b9641f5dfe597a5ab5a13ca603cd13998cb23d595d5350d118f3

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

# {
#   "active": true,
#   "friendly_name": "Shipay Pagador",
#   "logo": null,
#   "minimum_payment": 0.0,
#   "pix_dict_key": null,
#   "pix_psp": null,
#   "wallet": "shipay-pagador",
#   "wallet_setting_id": null,
#   "wallet_setting_name": null
# }
# path = '/v1/wallets'
module Shipay
  class Wallet < 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.rb