Sha256: d959640e966b09350ec8e9bc21c16a9792e6af04a137116e02539db2624982dc

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

module PaxfulClient
  class Client

    include APIClientBase::Client.module(default_opts: :default_opts)

    api_action :get_balance
    api_action :get_completed_trades

    attribute :host, String
    attribute :key, String
    attribute :secret, String

    private

    def default_opts
      { host: host, key: key, secret: secret }
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
paxful_client-1.5.1 lib/paxful_client/client.rb
paxful_client-1.5.0 lib/paxful_client/client.rb
paxful_client-1.4.0 lib/paxful_client/client.rb
paxful_client-1.3.0 lib/paxful_client/client.rb
paxful_client-1.2.0 lib/paxful_client/client.rb
paxful_client-1.1.0 lib/paxful_client/client.rb
paxful_client-1.0.0 lib/paxful_client/client.rb
paxful_client-0.3.0 lib/paxful_client/client.rb