Class: ZohoSdk::Analytics::Column

Inherits:
Object
  • Object
show all
Defined in:
lib/zoho-sdk/analytics/column.rb

Constant Summary collapse

DATA_TYPES =
{
  "Auto" => :system,
  "Plain Text" => :plain,
  "E-Mail" => :email,
  "Multi Line Text" => :multi,
  "URL" => :url,
  "Number" => :number,
  "Auto Number" => :auto_number,
  "Positive Number" => :positive_number,
  "Decimal Number" => :decimal_number,
  "Currency" => :currency,
  "Percentage" => :percentage,
  "Date" => :date,
  "Yes/No Decision" => :boolean
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, table, client) ⇒ Column

Returns a new instance of Column.



21
22
23
24
25
# File 'lib/zoho-sdk/analytics/column.rb', line 21

def initialize(name, table, client)
  @name = name
  @table = table
  @client = client
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



19
20
21
# File 'lib/zoho-sdk/analytics/column.rb', line 19

def name
  @name
end

#tableObject (readonly)

Returns the value of attribute table.



19
20
21
# File 'lib/zoho-sdk/analytics/column.rb', line 19

def table
  @table
end