Class: SparkApi::Models::EmailLink

Inherits:
Base
  • Object
show all
Extended by:
Finders
Defined in:
lib/spark_api/models/email_link.rb

Constant Summary

Constants included from Paginate

Paginate::DEFAULT_PAGE_SIZE

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes, #errors, #parent

Instance Method Summary collapse

Methods included from Finders

find, find_one, first, last

Methods inherited from Base

connection, #connection, count, element_name, element_name=, first, get, #id, #initialize, #load, #method_missing, #parse_id, path, #path, #persisted?, prefix, prefix=, #resource_pluralized, #resource_uri, #respond_to?, #to_param, #to_partial_path

Methods included from Paginate

#collect, #paginate, #per_page

Methods included from Dirty

#changed, #changed?, #changed_attributes, #changes, #dirty_attributes, #previous_changes

Constructor Details

This class inherits a constructor from SparkApi::Models::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SparkApi::Models::Base

Instance Attribute Details

#sort_idObject

Returns the value of attribute sort_id.



10
11
12
# File 'lib/spark_api/models/email_link.rb', line 10

def sort_id
  @sort_id
end

#templateObject

Returns the value of attribute template.



10
11
12
# File 'lib/spark_api/models/email_link.rb', line 10

def template
  @template
end

Instance Method Details

#filterObject



12
13
14
# File 'lib/spark_api/models/email_link.rb', line 12

def filter
  "EmailLink Eq '#{id}'"
end

#listing_search_roleObject



16
17
18
# File 'lib/spark_api/models/email_link.rb', line 16

def listing_search_role
  :public
end