Class: LlmCostTracker::Pricing::Rate
- Inherits:
-
Data
- Object
- Data
- LlmCostTracker::Pricing::Rate
- Defined in:
- lib/llm_cost_tracker/pricing/rate.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#currency ⇒ Object
readonly
Returns the value of attribute currency.
-
#quantity ⇒ Object
readonly
Returns the value of attribute quantity.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#source_key ⇒ Object
readonly
Returns the value of attribute source_key.
-
#source_version ⇒ Object
readonly
Returns the value of attribute source_version.
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount
16 17 18 |
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16 def amount @amount end |
#currency ⇒ Object (readonly)
Returns the value of attribute currency
16 17 18 |
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16 def currency @currency end |
#quantity ⇒ Object (readonly)
Returns the value of attribute quantity
16 17 18 |
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16 def quantity @quantity end |
#source ⇒ Object (readonly)
Returns the value of attribute source
16 17 18 |
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16 def source @source end |
#source_key ⇒ Object (readonly)
Returns the value of attribute source_key
16 17 18 |
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16 def source_key @source_key end |
#source_version ⇒ Object (readonly)
Returns the value of attribute source_version
16 17 18 |
# File 'lib/llm_cost_tracker/pricing/rate.rb', line 16 def source_version @source_version end |