Sha256: 88c52983638d8cfa524d22a47648eb12bd9596473daa000814b9eb2583f0719b

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

module Braintree
  class SubscriptionSearch < AdvancedSearch
    multiple_value_field :ids
    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

3 entries across 3 versions & 1 rubygems

Version Path
braintree-2.4.0 lib/braintree/subscription_search.rb
braintree-2.3.1 lib/braintree/subscription_search.rb
braintree-2.2.0 lib/braintree/subscription_search.rb