Module: CartoDB::Model::Setters
- Included in:
- Base
- Defined in:
- lib/cartodb-rb-client/cartodb/model/setters.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/cartodb-rb-client/cartodb/model/setters.rb', line 4 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#attributes=(attributes) ⇒ Object
31 32 33 |
# File 'lib/cartodb-rb-client/cartodb/model/setters.rb', line 31 def attributes=(attributes) @attributes = prepare_geo_attributes(attributes) end |
#cartodb_table=(table) ⇒ Object
27 28 29 |
# File 'lib/cartodb-rb-client/cartodb/model/setters.rb', line 27 def cartodb_table=(table) self.class.cartodb_table = table end |