Class: Files::PaypalExpressUrl
- Inherits:
-
Object
- Object
- Files::PaypalExpressUrl
- Defined in:
- lib/files.com/models/paypal_express_url.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(attributes = {}, options = {}) ⇒ PaypalExpressUrl
constructor
A new instance of PaypalExpressUrl.
-
#redirect_to ⇒ Object
string - Redirect link.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ PaypalExpressUrl
Returns a new instance of PaypalExpressUrl.
7 8 9 10 |
# File 'lib/files.com/models/paypal_express_url.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/paypal_express_url.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/paypal_express_url.rb', line 5 def @options end |
Instance Method Details
#redirect_to ⇒ Object
string - Redirect link
13 14 15 |
# File 'lib/files.com/models/paypal_express_url.rb', line 13 def redirect_to @attributes[:redirect_to] end |