Module: HasTokenable::TableDefinition
- Defined in:
- lib/has_tokenable/table_definition.rb
Instance Method Summary collapse
Instance Method Details
#token(*args) ⇒ Object
6 7 8 9 10 |
# File 'lib/has_tokenable/table_definition.rb', line 6 def token(*args) = { length: HasTokenable.[:length] }.merge(args.) puts "opeiont: #{options}" column(:token, :string, .merge(nil: false)) end |