Skip to content

Commit

Permalink
Changes from gocardless/gocardless-pro-ruby-template@3e6bd791f8b2dab1…
Browse files Browse the repository at this point in the history
…384d8a7111183c712e6cfd2e
  • Loading branch information
gocardless-robot committed Nov 8, 2023
1 parent f1603aa commit 190837b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gocardless_pro/resources/billing_request_flow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class BillingRequestFlow
attr_reader :authorisation_url
attr_reader :auto_fulfil
attr_reader :created_at
attr_reader :customer_details_captured
attr_reader :exit_uri
attr_reader :expires_at
attr_reader :id
Expand All @@ -39,6 +40,7 @@ def initialize(object, response = nil)
@authorisation_url = object['authorisation_url']
@auto_fulfil = object['auto_fulfil']
@created_at = object['created_at']
@customer_details_captured = object['customer_details_captured']
@exit_uri = object['exit_uri']
@expires_at = object['expires_at']
@id = object['id']
Expand Down
6 changes: 6 additions & 0 deletions spec/resources/billing_request_flow_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand All @@ -44,6 +45,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand All @@ -70,6 +72,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down Expand Up @@ -129,6 +132,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down Expand Up @@ -190,6 +194,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down Expand Up @@ -238,6 +243,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down
6 changes: 6 additions & 0 deletions spec/services/billing_request_flows_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand All @@ -44,6 +45,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand All @@ -70,6 +72,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down Expand Up @@ -152,6 +155,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down Expand Up @@ -213,6 +217,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down Expand Up @@ -272,6 +277,7 @@
'authorisation_url' => 'authorisation_url-input',
'auto_fulfil' => 'auto_fulfil-input',
'created_at' => 'created_at-input',
'customer_details_captured' => 'customer_details_captured-input',
'exit_uri' => 'exit_uri-input',
'expires_at' => 'expires_at-input',
'id' => 'id-input',
Expand Down

0 comments on commit 190837b

Please sign in to comment.