Class: BunqRb::CustomerStatementExport

Inherits:
Object
  • Object
show all
Includes:
Shared
Defined in:
lib/bunq_rb/objects/customer_statement_export.rb

Overview

CustomerStatementExport

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#idObject (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

#statusObject (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, )
  "/v1/user/#{user_id}/monetary-account/#{monetary_account_id}/customer-statement"
end