Class: LlmCostTracker::Pricing::Rate

Inherits:
Data
  • Object
show all
Defined in:
lib/llm_cost_tracker/pricing/rate.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject (readonly)

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



16
17
18
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16

def amount
  @amount
end

#currencyObject (readonly)

Returns the value of attribute currency

Returns:

  • (Object)

    the current value of currency



16
17
18
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16

def currency
  @currency
end

#quantityObject (readonly)

Returns the value of attribute quantity

Returns:

  • (Object)

    the current value of quantity



16
17
18
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16

def quantity
  @quantity
end

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



16
17
18
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16

def source
  @source
end

#source_keyObject (readonly)

Returns the value of attribute source_key

Returns:

  • (Object)

    the current value of source_key



16
17
18
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16

def source_key
  @source_key
end

#source_versionObject (readonly)

Returns the value of attribute source_version

Returns:

  • (Object)

    the current value of source_version



16
17
18
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16

def source_version
  @source_version
end