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