class MetallicaLogo::Result

value object for storing the response of a logo generation request

Attributes

file[R]
result[R]
token[R]

Public Class Methods

new(data) click to toggle source
# File lib/metallica_logo/result.rb, line 9
def initialize(data)
  @file = "#{MetallicaLogo::BASE_URL}/#{data['file']}"
  @token = data['token']
  @result = data['result']
end