Class: Copilot::ModelBilling

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Model billing information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#multiplierObject

Returns the value of attribute multiplier

Returns:

  • (Object)

    the current value of multiplier



418
419
420
# File 'lib/copilot/types.rb', line 418

def multiplier
  @multiplier
end

Class Method Details

.from_hash(h) ⇒ Object



419
420
421
# File 'lib/copilot/types.rb', line 419

def self.from_hash(h)
  new(multiplier: h["multiplier"])
end