Skip to content

Loading…

Why not allow status to be accessed from PreAuthorization object? #17

Merged
merged 1 commit into from

2 participants

@digitalWestie

Pretty much all in the title. :)

@hmarr
GoCardless member

Thanks for this - we're actually missing a couple more fields, which I'm adding now.

@digitalWestie

cool beans

@hmarr hmarr merged commit 242d25a into gocardless:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 23, 2012
  1. @digitalWestie

    why not status?

    digitalWestie committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/gocardless/pre_authorization.rb
View
3 lib/gocardless/pre_authorization.rb
@@ -9,7 +9,8 @@ class PreAuthorization < Resource
:interval_unit,
:name,
:description,
- :plan_id
+ :plan_id,
+ :status
reference_accessor :merchant_id, :user_id
date_accessor :expires_at, :created_at
Something went wrong with that request. Please try again.