Sha256: d8985b2d0aded68eb25e93047a0d98c01af6e0565a2be460d6bba97722babce1

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

module BitflyerApi::Methods::Private
  module Assets
    def my_balance
      res = conn.get("/v1/me/getbalance")
      res.body
    end

    def my_collateral
      res = conn.get("/v1/me/getcollateral")
      res.body
    end

    def my_collateral_accounts
      res = conn.get("/v1/me/getcollateralaccounts")
      res.body
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bitflyer_api-0.1.1 lib/bitflyer_api/methods/private/assets.rb
bitflyer_api-0.1.0 lib/bitflyer_api/methods/private/assets.rb