Class: ActivePublicResources::ReturnTypes::ImageUrl

Inherits:
BaseReturnType show all
Defined in:
lib/active_public_resources/return_types/image_url.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) ⇒ ImageUrl

Returns a new instance of ImageUrl.



6
7
8
# File 'lib/active_public_resources/return_types/image_url.rb', line 6

def initialize(args)
  super(args.merge(:return_type => 'image_url'))
end

Instance Attribute Details

#heightObject

Returns the value of attribute height.



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

def height
  @height
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#widthObject

Returns the value of attribute width.



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

def width
  @width
end