Class: ActivePublicResources::ResponseTypes::Image

Inherits:
BaseResponseType show all
Defined in:
lib/active_public_resources/response_types/image.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResponseType

#description, #id, #kind, #return_types, #title

Instance Method Summary collapse

Methods inherited from BaseResponseType

#attributes

Constructor Details

#initializeImage

Returns a new instance of Image.



6
7
8
9
# File 'lib/active_public_resources/response_types/image.rb', line 6

def initialize
  super
  @kind = 'image'
end

Instance Attribute Details

#heightObject

Returns the value of attribute height.



4
5
6
# File 'lib/active_public_resources/response_types/image.rb', line 4

def height
  @height
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/active_public_resources/response_types/image.rb', line 4

def url
  @url
end

#widthObject

Returns the value of attribute width.



4
5
6
# File 'lib/active_public_resources/response_types/image.rb', line 4

def width
  @width
end