class Trello::Schema
Attributes
attrs[R]
Public Class Methods
new()
click to toggle source
# File lib/trello/schema.rb, line 22 def initialize @attrs = ActiveSupport::HashWithIndifferentAccess.new end
Public Instance Methods
attribute(name, options={})
click to toggle source
# File lib/trello/schema.rb, line 26 def attribute(name, options={}) @attrs[name] = AttributeBuilder.build(name, options) self end