Class: BunqRb::RequestResponse
- Inherits:
-
Object
- Object
- BunqRb::RequestResponse
- Includes:
- Shared
- Defined in:
- lib/bunq_rb/objects/request_response.rb
Overview
RequestResponse
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hsh = {}) ⇒ RequestResponse
constructor
A new instance of RequestResponse.
Constructor Details
#initialize(hsh = {}) ⇒ RequestResponse
Returns a new instance of RequestResponse.
10 11 12 |
# File 'lib/bunq_rb/objects/request_response.rb', line 10 def initialize(hsh = {}) @id = hsh["id"] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/bunq_rb/objects/request_response.rb', line 8 def id @id end |
Class Method Details
.url(user_id, monetary_account_id) ⇒ Object
14 15 16 |
# File 'lib/bunq_rb/objects/request_response.rb', line 14 def self.url(user_id, monetary_account_id) "/v1/user/#{user_id}/monetary-account/#{monetary_account_id}/request-response" end |