Class: ActiveHarness::CostBreakdown

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_harness/result.rb

Overview

Monetary cost of a single call in USD. nil when pricing data is unavailable.

Instance Attribute Summary collapse

Instance Attribute Details

#inputObject

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



34
35
36
# File 'lib/active_harness/result.rb', line 34

def input
  @input
end

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



34
35
36
# File 'lib/active_harness/result.rb', line 34

def output
  @output
end

#totalObject

Returns the value of attribute total

Returns:

  • (Object)

    the current value of total



34
35
36
# File 'lib/active_harness/result.rb', line 34

def total
  @total
end