class Spotify::Models::Image

Attributes

height[R]
url[R]
width[R]

Public Class Methods

new(args = {}) click to toggle source

Sets the arguments to its variables.

@param [Hash] args the arguments that will be placed on each variable.

@return [Image] an image object.

# File lib/spotify/models/image.rb, line 16
def initialize(args = {})
  args = Hash(args).with_indifferent_access

  @height = args[:height]
  @url    = args[:url]
  @width  = args[:width]
end