Class: YSM::AccountService::SetActiveCreditCard
- Inherits:
-
Object
- Object
- YSM::AccountService::SetActiveCreditCard
- Defined in:
- lib/ysm4r/v1/AccountService.rb,
lib/ysm4r/v2/AccountService.rb
Overview
http://marketing.ews.yahooapis.com/V2setActiveCreditCard
Instance Attribute Summary collapse
-
#accountID ⇒ Object
Returns the value of attribute accountID.
-
#paymentMethodID ⇒ Object
Returns the value of attribute paymentMethodID.
Instance Method Summary collapse
-
#initialize(accountID = nil, paymentMethodID = nil) ⇒ SetActiveCreditCard
constructor
A new instance of SetActiveCreditCard.
Constructor Details
#initialize(accountID = nil, paymentMethodID = nil) ⇒ SetActiveCreditCard
Returns a new instance of SetActiveCreditCard.
219 220 221 222 |
# File 'lib/ysm4r/v1/AccountService.rb', line 219 def initialize(accountID = nil, paymentMethodID = nil) @accountID = accountID @paymentMethodID = paymentMethodID end |
Instance Attribute Details
#accountID ⇒ Object
Returns the value of attribute accountID.
216 217 218 |
# File 'lib/ysm4r/v1/AccountService.rb', line 216 def accountID @accountID end |
#paymentMethodID ⇒ Object
Returns the value of attribute paymentMethodID.
217 218 219 |
# File 'lib/ysm4r/v1/AccountService.rb', line 217 def paymentMethodID @paymentMethodID end |