Module: LocalBitcoins::Escrows
- Included in:
- Client
- Defined in:
- lib/localbitcoins/client/escrows.rb
Instance Method Summary collapse
-
#escrow_release(id) ⇒ Object
Release an escrow id - the contact number NOTE: LocalBitcoins documentation calls this the “escrow_id”, it is actually just the contact number the escrow is associated with.
-
#escrows ⇒ Object
Get a list of the token owner’s releaseable escrows NOTE: This endpoint is not documented so it may or may not work.
Instance Method Details
#escrow_release(id) ⇒ Object
Release an escrow id - the contact number NOTE: LocalBitcoins documentation calls this the “escrow_id”, it is actually just the contact number the escrow is associated with
13 14 15 |
# File 'lib/localbitcoins/client/escrows.rb', line 13 def escrow_release(id) oauth_request(:post, "/api/escrow_release/#{id}/").data end |
#escrows ⇒ Object
Get a list of the token owner’s releaseable escrows NOTE: This endpoint is not documented so it may or may not work
5 6 7 |
# File 'lib/localbitcoins/client/escrows.rb', line 5 def escrows oauth_request(:get, '/api/escrows/').data end |