Sha256: b416f4445953c78e0caa2a36736c11f919654bed2554f9c7693921a3140aea1c

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

module Braintree
  class SubscriptionSearch < AdvancedSearch
    search_fields :plan_id, :days_past_due
    multiple_value_field :status, :allows => [
      Subscription::Status::Active,
      Subscription::Status::Canceled,
      Subscription::Status::PastDue
    ]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
braintree-2.1.0 lib/braintree/subscription_search.rb
braintree-2.0.0 lib/braintree/subscription_search.rb
braintree-1.2.1 lib/braintree/subscription_search.rb
braintree-1.2.0 lib/braintree/subscription_search.rb