Class: Stargate::Model::Row

Inherits:
Record
  • Object
show all
Defined in:
lib/stargate/model/row.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from Stargate::Model::Record

Instance Attribute Details

#columnsObject

Returns the value of attribute columns.



7
8
9
# File 'lib/stargate/model/row.rb', line 7

def columns
  @columns
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/stargate/model/row.rb', line 5

def name
  @name
end

#table_nameObject

Returns the value of attribute table_name.



4
5
6
# File 'lib/stargate/model/row.rb', line 4

def table_name
  @table_name
end

#total_countObject

Returns the value of attribute total_count.



6
7
8
# File 'lib/stargate/model/row.rb', line 6

def total_count
  @total_count
end

Instance Method Details

#timestampObject



9
10
11
# File 'lib/stargate/model/row.rb', line 9

def timestamp
  warn "[DEPRECATION] timestamp attribute will be removed from the Row model. "
end

#timestamp=Object



13
14
15
# File 'lib/stargate/model/row.rb', line 13

def timestamp=
  timestamp
end