Class: LlmCostTracker::Dashboard::ProviderRow

Inherits:
Data
  • Object
show all
Defined in:
app/services/llm_cost_tracker/dashboard/provider_breakdown.rb

Instance Attribute Summary collapse

Instance Attribute Details

#callsObject (readonly)

Returns the value of attribute calls

Returns:

  • (Object)

    the current value of calls



5
6
7
# File 'app/services/llm_cost_tracker/dashboard/provider_breakdown.rb', line 5

def calls
  @calls
end

#providerObject (readonly)

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



5
6
7
# File 'app/services/llm_cost_tracker/dashboard/provider_breakdown.rb', line 5

def provider
  @provider
end

#share_percentObject (readonly)

Returns the value of attribute share_percent

Returns:

  • (Object)

    the current value of share_percent



5
6
7
# File 'app/services/llm_cost_tracker/dashboard/provider_breakdown.rb', line 5

def share_percent
  @share_percent
end

#total_costObject (readonly)

Returns the value of attribute total_cost

Returns:

  • (Object)

    the current value of total_cost



5
6
7
# File 'app/services/llm_cost_tracker/dashboard/provider_breakdown.rb', line 5

def total_cost
  @total_cost
end