Class: BunqRb::ExportAnnualOverview

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

Overview

ExportAnnualOverview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

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

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