Method: Trello::Schema#attribute

Defined in:
lib/trello/schema.rb

#attribute(name, options = {}) ⇒ Object



26
27
28
29
# File 'lib/trello/schema.rb', line 26

def attribute(name, options={})
  @attrs[name] = AttributeBuilder.build(name, options)
  self
end