Class: GoCardlessPro::Resources::NegativeBalanceLimit::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/gocardless_pro/resources/negative_balance_limit.rb

Instance Method Summary collapse

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_userObject



53
54
55
# File 'lib/gocardless_pro/resources/negative_balance_limit.rb', line 53

def creator_user
  @links['creator_user']
end

#creditorObject



57
58
59
# File 'lib/gocardless_pro/resources/negative_balance_limit.rb', line 57

def creditor
  @links['creditor']
end