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



416
417
418
# File 'lib/copilot/types.rb', line 416

def multiplier
  @multiplier
end

Class Method Details

.from_hash(h) ⇒ Object



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

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