class NHApi::Image
Attributes
filetype[R]
height[R]
url[R]
width[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/nh_api/image.rb, line 7 def initialize(attributes) @filetype = NHApi::FILETYPES[attributes["t"]] @width = attributes["w"] @height = attributes["h"] @url = generate_url(attributes) end
Private Instance Methods
generate_url(params)
click to toggle source
# File lib/nh_api/image.rb, line 16 def generate_url(params); end