Class: Nexo::ApiResponse

Inherits:
Struct
  • Object
show all
Defined in:
app/lib/nexo/api_client/api_response.rb

Instance Attribute Summary collapse

Instance Attribute Details

#etagObject

Returns the value of attribute etag

Returns:

  • (Object)

    the current value of etag



2
3
4
# File 'app/lib/nexo/api_client/api_response.rb', line 2

def etag
  @etag
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'app/lib/nexo/api_client/api_response.rb', line 2

def id
  @id
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



2
3
4
# File 'app/lib/nexo/api_client/api_response.rb', line 2

def payload
  @payload
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



2
3
4
# File 'app/lib/nexo/api_client/api_response.rb', line 2

def status
  @status
end