Module: CartoDB::Model::Persistence::ClassMethods
- Defined in:
- lib/cartodb-rb-client/cartodb/model/persistence.rb
Instance Method Summary collapse
Instance Method Details
#create(attributes = {}) ⇒ Object
12 13 14 15 16 |
# File 'lib/cartodb-rb-client/cartodb/model/persistence.rb', line 12 def create(attributes = {}) model = self.new attributes model.save model end |