Skip to content
Kward Search API index

Class: Kward::ContextBudgetMeter::Snapshot

Inherits:
Struct
  • Object
show all
Defined in:
lib/kward/context_budget_meter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#callsObject

Returns the value of attribute calls

Returns:

  • (Object)

    the current value of calls



5
6
7
# File 'lib/kward/context_budget_meter.rb', line 5

def calls
  @calls
end

#original_bytesObject

Returns the value of attribute original_bytes

Returns:

  • (Object)

    the current value of original_bytes



5
6
7
# File 'lib/kward/context_budget_meter.rb', line 5

def original_bytes
  @original_bytes
end

#returned_bytesObject

Returns the value of attribute returned_bytes

Returns:

  • (Object)

    the current value of returned_bytes



5
6
7
# File 'lib/kward/context_budget_meter.rb', line 5

def returned_bytes
  @returned_bytes
end

#saved_bytesObject

Returns the value of attribute saved_bytes

Returns:

  • (Object)

    the current value of saved_bytes



5
6
7
# File 'lib/kward/context_budget_meter.rb', line 5

def saved_bytes
  @saved_bytes
end

#tool_breakdownObject

Returns the value of attribute tool_breakdown

Returns:

  • (Object)

    the current value of tool_breakdown



5
6
7
# File 'lib/kward/context_budget_meter.rb', line 5

def tool_breakdown
  @tool_breakdown
end