Class: SmoothOperator::OpenStruct::Base
- Inherits:
-
Object
- Object
- SmoothOperator::OpenStruct::Base
- Includes:
- AttributeAssignment, AttributeMethods, Delegation, ModelSchema, Serialization, Validations
- Defined in:
- lib/smooth_operator/open_struct.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes included from AttributeAssignment
Class Method Summary collapse
Methods included from AttributeAssignment
#assign_attributes, #has_data_from_server, included, #initialize, #parent_object
Methods included from AttributeMethods
#get_attribute_type, #get_internal_data, #internal_data, #push_to_internal_data
Methods included from Serialization
#attributes, #read_attribute_for_serialization, #serializable_hash, #to_hash, #to_json
Methods included from ModelSchema
included, #known_attribute?, #known_attributes, #known_by_schema?
Methods included from Validations
Methods included from Delegation
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SmoothOperator::Delegation
Class Method Details
.strict_behaviour ⇒ Object
24 25 26 |
# File 'lib/smooth_operator/open_struct.rb', line 24 def self.strict_behaviour Helpers.get_instance_variable(self, :strict_behaviour, false) end |
.strict_behaviour=(value) ⇒ Object
20 21 22 |
# File 'lib/smooth_operator/open_struct.rb', line 20 def self.strict_behaviour=(value) @strict_behaviour = value end |