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