Skip to content

Commit

Permalink
Merge pull request #62 from gocardless/template-changes
Browse files Browse the repository at this point in the history
Changes from gocardless-pro-ruby-template
  • Loading branch information
paprikati authored Feb 24, 2020
2 parents c1bd26d + fe7ba89 commit bc1d0b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/gocardless_pro/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def default_options
'User-Agent' => user_agent.to_s,
'Content-Type' => 'application/json',
'GoCardless-Client-Library' => 'gocardless-pro-ruby',
'GoCardless-Client-Version' => '2.17.0',
'GoCardless-Client-Version' => '2.17.1',
},
}
end
Expand Down
4 changes: 4 additions & 0 deletions lib/gocardless_pro/resources/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def initialize(links)
@links = links || {}
end

def creditor
@links['creditor']
end

def instalment_schedule
@links['instalment_schedule']
end
Expand Down
2 changes: 1 addition & 1 deletion lib/gocardless_pro/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module GoCardlessPro

module GoCardlessPro
# Current version of the GC gem
VERSION = '2.17.0'.freeze
VERSION = '2.17.1'.freeze
end

0 comments on commit bc1d0b4

Please sign in to comment.