Class: ActivePublicResources::ReturnTypes::Iframe

Inherits:
BaseReturnType show all
Defined in:
lib/active_public_resources/return_types/iframe.rb

Instance Attribute Summary collapse

Attributes inherited from BaseReturnType

#driver, #remote_id, #return_type, #url

Instance Method Summary collapse

Methods inherited from BaseReturnType

#attributes

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

#heightObject

Returns the value of attribute height.



4
5
6
# File 'lib/active_public_resources/return_types/iframe.rb', line 4

def height
  @height
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/active_public_resources/return_types/iframe.rb', line 4

def title
  @title
end

#widthObject

Returns the value of attribute width.



4
5
6
# File 'lib/active_public_resources/return_types/iframe.rb', line 4

def width
  @width
end