Class: GoCardlessPro::Resources::NegativeBalanceLimit::Links
- Inherits:
-
Object
- Object
- GoCardlessPro::Resources::NegativeBalanceLimit::Links
- Defined in:
- lib/gocardless_pro/resources/negative_balance_limit.rb
Instance Method Summary collapse
- #creator_user ⇒ Object
- #creditor ⇒ Object
-
#initialize(links) ⇒ Links
constructor
A new instance of Links.
Constructor Details
#initialize(links) ⇒ Links
Returns a new instance of Links.
49 50 51 |
# File 'lib/gocardless_pro/resources/negative_balance_limit.rb', line 49 def initialize(links) @links = links || {} end |
Instance Method Details
#creator_user ⇒ Object
53 54 55 |
# File 'lib/gocardless_pro/resources/negative_balance_limit.rb', line 53 def creator_user @links['creator_user'] end |
#creditor ⇒ Object
57 58 59 |
# File 'lib/gocardless_pro/resources/negative_balance_limit.rb', line 57 def creditor @links['creditor'] end |