Class: Twilic::Core::V2::EncodeState
- Inherits:
-
Object
- Object
- Twilic::Core::V2::EncodeState
- Defined in:
- lib/twilic/core/v2.rb
Instance Attribute Summary collapse
-
#key_ids ⇒ Object
Returns the value of attribute key_ids.
-
#next_key_id ⇒ Object
Returns the value of attribute next_key_id.
-
#next_shape_id ⇒ Object
Returns the value of attribute next_shape_id.
-
#next_str_id ⇒ Object
Returns the value of attribute next_str_id.
-
#shape_ids ⇒ Object
Returns the value of attribute shape_ids.
-
#str_ids ⇒ Object
Returns the value of attribute str_ids.
Instance Method Summary collapse
-
#initialize ⇒ EncodeState
constructor
A new instance of EncodeState.
Constructor Details
#initialize ⇒ EncodeState
Returns a new instance of EncodeState.
39 40 41 42 43 44 45 46 |
# File 'lib/twilic/core/v2.rb', line 39 def initialize @key_ids = {} @str_ids = {} @shape_ids = {} @next_key_id = 0 @next_str_id = 0 @next_shape_id = 0 end |
Instance Attribute Details
#key_ids ⇒ Object
Returns the value of attribute key_ids.
37 38 39 |
# File 'lib/twilic/core/v2.rb', line 37 def key_ids @key_ids end |
#next_key_id ⇒ Object
Returns the value of attribute next_key_id.
37 38 39 |
# File 'lib/twilic/core/v2.rb', line 37 def next_key_id @next_key_id end |
#next_shape_id ⇒ Object
Returns the value of attribute next_shape_id.
37 38 39 |
# File 'lib/twilic/core/v2.rb', line 37 def next_shape_id @next_shape_id end |
#next_str_id ⇒ Object
Returns the value of attribute next_str_id.
37 38 39 |
# File 'lib/twilic/core/v2.rb', line 37 def next_str_id @next_str_id end |
#shape_ids ⇒ Object
Returns the value of attribute shape_ids.
37 38 39 |
# File 'lib/twilic/core/v2.rb', line 37 def shape_ids @shape_ids end |
#str_ids ⇒ Object
Returns the value of attribute str_ids.
37 38 39 |
# File 'lib/twilic/core/v2.rb', line 37 def str_ids @str_ids end |