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