Class: Opera::MobileStore::PaymentInfo::PayPal
- Inherits:
-
Opera::MobileStore::PaymentInfo
- Object
- Opera::MobileStore::PaymentInfo
- Opera::MobileStore::PaymentInfo::PayPal
- Defined in:
- lib/opera/mobile_store/payment_info.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Opera::MobileStore::PaymentInfo
Methods included from InspectableAttributes
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
106 107 108 |
# File 'lib/opera/mobile_store/payment_info.rb', line 106 def account @account end |
Class Method Details
.build_from_nokogiri_node(node) ⇒ Object
107 108 109 |
# File 'lib/opera/mobile_store/payment_info.rb', line 107 def self.build_from_nokogiri_node(node) self.new(account: node.xpath("string(account)").strip) end |
Instance Method Details
#attributes ⇒ Object
111 112 113 |
# File 'lib/opera/mobile_store/payment_info.rb', line 111 def attributes { type: 'paypal', account: account } end |