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