Class: Handinger::Models::Task::Totals
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
93
|
# File 'sig/handinger/models/task.rbs', line 93
def initialize: (
|
Instance Attribute Details
#credits ⇒ Integer
108
|
# File 'lib/handinger/models/task.rb', line 108
required :credits, Integer
|
#duration_ms ⇒ Integer
113
|
# File 'lib/handinger/models/task.rb', line 113
required :duration_ms, Integer, api_name: :durationMs
|
#turn_count ⇒ Integer
118
|
# File 'lib/handinger/models/task.rb', line 118
required :turn_count, Integer, api_name: :turnCount
|
Instance Method Details
#to_hash ⇒ {
99
|
# File 'sig/handinger/models/task.rbs', line 99
def to_hash: -> {
|