Module: Bibox::Rest::Private::Contracts::General

Included in:
Client
Defined in:
lib/bibox/rest/private/contracts/general.rb

Instance Method Summary collapse

Instance Method Details

#contract_values(options: {}) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/bibox/rest/private/contracts/general.rb', line 6

def contract_values(options: {})
  payload     =   [
    {
      cmd:  "query/contractValue",
      body: {}
    }
  ]

  response    =   post("/cquery", data: payload, options: options)#&.fetch("result", [])&.first&.fetch("result", [])

  raise response.inspect
end