Class: Weather::VisualCrossingClient::Response

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

Overview

Service object: response.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



67
68
69
# File 'app/services/weather/visual_crossing_client.rb', line 67

def data
  @data
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



67
68
69
# File 'app/services/weather/visual_crossing_client.rb', line 67

def error
  @error
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



67
68
69
# File 'app/services/weather/visual_crossing_client.rb', line 67

def success?
  @success?
end