Class: Mollie::Organization
Instance Attribute Summary collapse
-
#_links ⇒ Object
(also: #links)
Returns the value of attribute _links.
-
#address ⇒ Object
Returns the value of attribute address.
-
#email ⇒ Object
Returns the value of attribute email.
-
#id ⇒ Object
Returns the value of attribute id.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#name ⇒ Object
Returns the value of attribute name.
-
#registration_number ⇒ Object
Returns the value of attribute registration_number.
-
#vat_number ⇒ Object
Returns the value of attribute vat_number.
-
#vat_regulation ⇒ Object
Returns the value of attribute vat_regulation.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
all, #assign_attributes, cancel, create, #delete, delete, get, id_param, #initialize, parent_id, request, resource_name, update, #update
Constructor Details
This class inherits a constructor from Mollie::Base
Instance Attribute Details
#_links ⇒ Object Also known as: links
Returns the value of attribute _links.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def _links @_links end |
#address ⇒ Object
Returns the value of attribute address.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def address @address end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def email @email end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def id @id end |
#locale ⇒ Object
Returns the value of attribute locale.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def locale @locale end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def name @name end |
#registration_number ⇒ Object
Returns the value of attribute registration_number.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def registration_number @registration_number end |
#vat_number ⇒ Object
Returns the value of attribute vat_number.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def vat_number @vat_number end |
#vat_regulation ⇒ Object
Returns the value of attribute vat_regulation.
3 4 5 |
# File 'lib/mollie/organization.rb', line 3 def vat_regulation @vat_regulation end |
Class Method Details
.current(options = {}) ⇒ Object
15 16 17 |
# File 'lib/mollie/organization.rb', line 15 def self.current( = {}) get('me', ) end |
Instance Method Details
#dashboard_url ⇒ Object
23 24 25 |
# File 'lib/mollie/organization.rb', line 23 def dashboard_url Util.extract_url(links, 'dashboard') end |