Module: CartoDB::Model::Query

Included in:
Base
Defined in:
lib/cartodb-rb-client/cartodb/model/query.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/cartodb-rb-client/cartodb/model/query.rb', line 5

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#countObject



56
57
58
# File 'lib/cartodb-rb-client/cartodb/model/query.rb', line 56

def count
  self.class.count
end

#count=(ammount) ⇒ Object



60
61
62
# File 'lib/cartodb-rb-client/cartodb/model/query.rb', line 60

def count=(ammount)
  self.class.count= ammount
end