Class: SiteTarget

Inherits:
Domain::Model show all
Defined in:
lib/domain/site_target/model.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Domain::Model

columns, from_json, headers, #initialize, #to_csv, #to_hash, #to_s

Constructor Details

This class inherits a constructor from Domain::Model

Instance Attribute Details

#includedObject

Returns the value of attribute included.



6
7
8
# File 'lib/domain/site_target/model.rb', line 6

def included
  @included
end

#scopeObject

Returns the value of attribute scope.



6
7
8
# File 'lib/domain/site_target/model.rb', line 6

def scope
  @scope
end

#site_idObject

Returns the value of attribute site_id.



6
7
8
# File 'lib/domain/site_target/model.rb', line 6

def site_id
  @site_id
end

#targetObject

Returns the value of attribute target.



6
7
8
# File 'lib/domain/site_target/model.rb', line 6

def target
  @target
end

#typeObject

Returns the value of attribute type.



6
7
8
# File 'lib/domain/site_target/model.rb', line 6

def type
  @type
end

Class Method Details

.primary_keyObject



8
9
10
# File 'lib/domain/site_target/model.rb', line 8

def self.primary_key
  'id'
end

.table_nameObject



12
13
14
# File 'lib/domain/site_target/model.rb', line 12

def self.table_name
  'site_target'
end