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