Module: Schema::Controls::Schema::TransientAttributes

Defined in:
lib/schema/controls/schema.rb

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.exampleObject



75
76
77
78
79
80
81
# File 'lib/schema/controls/schema.rb', line 75

def self.example
  example = Example.new
  example.some_attribute = Attribute::Value.some_attribute
  example.some_other_attribute = Attribute::Value.some_other_attribute
  example.yet_another_attribute = Attribute::Value.yet_another_attribute
  example
end