Class: ActivePublicResources::ReturnTypes::Url
- Inherits:
-
BaseReturnType
- Object
- BaseReturnType
- ActivePublicResources::ReturnTypes::Url
- Defined in:
- lib/active_public_resources/return_types/url.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
Returns the value of attribute target.
-
#text ⇒ Object
Returns the value of attribute text.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from BaseReturnType
#driver, #remote_id, #return_type, #url
Instance Method Summary collapse
-
#initialize(args) ⇒ Url
constructor
A new instance of Url.
Methods inherited from BaseReturnType
Constructor Details
#initialize(args) ⇒ Url
Returns a new instance of Url.
6 7 8 |
# File 'lib/active_public_resources/return_types/url.rb', line 6 def initialize(args) super(args.merge(:return_type => 'url')) end |
Instance Attribute Details
#target ⇒ Object
Returns the value of attribute target.
4 5 6 |
# File 'lib/active_public_resources/return_types/url.rb', line 4 def target @target end |
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'lib/active_public_resources/return_types/url.rb', line 4 def text @text end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/active_public_resources/return_types/url.rb', line 4 def title @title end |