module EventbriteSDK::Resource::Operations::AttributeSchema::InstanceMethods

Attributes

attrs[R]

Public Instance Methods

build_attrs(new_attrs) click to toggle source
# File lib/eventbrite_sdk/resource/operations/attribute_schema.rb, line 27
def build_attrs(new_attrs)
  @attrs = Attributes.new(
    new_attrs, self.class.schema || NullSchemaDefinition.new
  )
end

Private Instance Methods

method_missing(method_name, *_args, &_block) click to toggle source
Calls superclass method
# File lib/eventbrite_sdk/resource/operations/attribute_schema.rb, line 35
def method_missing(method_name, *_args, &_block)
  if attrs.respond_to?(method_name)
    attrs.public_send(method_name)
  else
    super
  end
end
respond_to_missing?(method_name, _include_private = false) click to toggle source
Calls superclass method
# File lib/eventbrite_sdk/resource/operations/attribute_schema.rb, line 43
def respond_to_missing?(method_name, _include_private = false)
  attrs.respond_to?(method_name) || super
end