Module: EventbriteSDK::Resource::Operations::AttributeSchema::ClassMethods
- Defined in:
- lib/eventbrite_sdk/resource/operations/attribute_schema.rb
Instance Attribute Summary collapse
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
Instance Method Summary collapse
Instance Attribute Details
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
6 7 8 |
# File 'lib/eventbrite_sdk/resource/operations/attribute_schema.rb', line 6 def prefix @prefix end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
6 7 8 |
# File 'lib/eventbrite_sdk/resource/operations/attribute_schema.rb', line 6 def schema @schema end |
Instance Method Details
#attributes_prefix(prefix) ⇒ Object
13 14 15 |
# File 'lib/eventbrite_sdk/resource/operations/attribute_schema.rb', line 13 def attributes_prefix(prefix) @prefix = prefix end |
#schema_definition(&block) ⇒ Object
8 9 10 11 |
# File 'lib/eventbrite_sdk/resource/operations/attribute_schema.rb', line 8 def schema_definition(&block) @schema = SchemaDefinition.new(name) @schema.instance_eval(&block) end |