Class: Cadenya::Types::Capability_StopSequences
- Inherits:
-
Object
- Object
- Cadenya::Types::Capability_StopSequences
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
readonly
Returns the value of attribute limit.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(limit: nil) ⇒ Capability_StopSequences
constructor
A new instance of Capability_StopSequences.
- #to_h ⇒ Object
Constructor Details
#initialize(limit: nil) ⇒ Capability_StopSequences
Returns a new instance of Capability_StopSequences.
1116 1117 1118 |
# File 'lib/cadenya/types.rb', line 1116 def initialize(limit: nil) @limit = limit end |
Instance Attribute Details
#limit ⇒ Object (readonly)
Returns the value of attribute limit.
1114 1115 1116 |
# File 'lib/cadenya/types.rb', line 1114 def limit @limit end |
Class Method Details
.from_json(data) ⇒ Object
1120 1121 1122 1123 1124 |
# File 'lib/cadenya/types.rb', line 1120 def self.from_json(data) new( limit: data["limit"], ) end |