Class: GammaClient::Response

Inherits:
Data
  • Object
show all
Defined in:
app/services/gamma_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



21
22
23
# File 'app/services/gamma_client.rb', line 21

def data
  @data
end

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



21
22
23
# File 'app/services/gamma_client.rb', line 21

def error
  @error
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



21
22
23
# File 'app/services/gamma_client.rb', line 21

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


22
# File 'app/services/gamma_client.rb', line 22

def success? = success