Method: Flydata::Heroku::ConfigurationMethods::ClassMethods#flydata_attr
- Defined in:
- lib/flydata/heroku/configuration_methods.rb
#flydata_attr(*attributes) ⇒ Object
23 24 25 26 |
# File 'lib/flydata/heroku/configuration_methods.rb', line 23 def flydata_attr(*attributes) raise "flydata_attr attributes cannot be blank" if attributes.empty? self._flydata_attributes = attributes.map(&:to_sym) end |