Module: CartoDB::Model::Getters

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

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



4
5
6
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 4

def attributes
  @attributes
end

#tableObject (readonly)

Returns the value of attribute table.



4
5
6
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 4

def table
  @table
end

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 6

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

Instance Method Details

#cartodb_tableObject



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

def cartodb_table
  self.class.cartodb_table
end

#columnsObject



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

def columns
  self.class.columns
end

#connectionObject



48
49
50
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 48

def connection
  self.class.connection
end

#table_nameObject



52
53
54
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 52

def table_name
  self.class.table_name
end