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