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
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#attributes ⇒ Object (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 |
#table ⇒ Object (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_table ⇒ Object
56 57 58 |
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 56 def cartodb_table self.class.cartodb_table end |
#columns ⇒ Object
60 61 62 |
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 60 def columns self.class.columns end |
#connection ⇒ Object
48 49 50 |
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 48 def connection self.class.connection end |
#table_name ⇒ Object
52 53 54 |
# File 'lib/cartodb-rb-client/cartodb/model/getters.rb', line 52 def table_name self.class.table_name end |