Class: PayPal::Recurring::Response::Profile
- Defined in:
- lib/paypal/recurring/response/profile.rb
Constant Summary collapse
- OUTSTANDING =
{ "AddToNextBilling" => :next_billing, "NoAutoBill" => :no_auto }
- STATUS =
{ "Cancelled" => :canceled, "Active" => :active, "Suspended" => :suspended }
- PERIOD =
{ "Month" => :monthly, "Weekly" => :weekly, "Year" => :yearly, "Day" => :daily }
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#errors, #initialize, #params, #success?, #valid?
Methods included from Utils
Constructor Details
This class inherits a constructor from PayPal::Recurring::Response::Base
Instance Method Details
#active? ⇒ Boolean
45 46 47 |
# File 'lib/paypal/recurring/response/profile.rb', line 45 def active? status == :active end |