Class: Weather::VisualCrossingClient::Response

Inherits:
Struct
  • Object
show all
Defined in:
app/services/weather/visual_crossing_client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



63
64
65
# File 'app/services/weather/visual_crossing_client.rb', line 63

def data
  @data
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



63
64
65
# File 'app/services/weather/visual_crossing_client.rb', line 63

def error
  @error
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



63
64
65
# File 'app/services/weather/visual_crossing_client.rb', line 63

def success?
  @success?
end