Class: Angarium::Client::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/angarium/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



9
10
11
# File 'lib/angarium/client.rb', line 9

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



9
10
11
# File 'lib/angarium/client.rb', line 9

def code
  @code
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



9
10
11
# File 'lib/angarium/client.rb', line 9

def duration
  @duration
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



9
10
11
# File 'lib/angarium/client.rb', line 9

def error
  @error
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



9
10
11
# File 'lib/angarium/client.rb', line 9

def headers
  @headers
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



9
10
11
# File 'lib/angarium/client.rb', line 9

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


10
# File 'lib/angarium/client.rb', line 10

def success? = success