Module: Zanox::Lead
- Extended by:
- Item
- Includes:
- Item
- Defined in:
- lib/zanox.rb
Instance Attribute Summary
Attributes included from Item
#id
Class Method Summary
collapse
Methods included from Item
find, find_every, find_other, new
Class Method Details
.is_key?(id) ⇒ Boolean
388
389
390
|
# File 'lib/zanox.rb', line 388
def self.is_key?(id)
id.to_s[/[0-9a-f]+[-]{1}[0-9a-f]+[-]{1}[0-9a-f]+[-]{1}[0-9a-f]+[-]{1}[0-9a-f]+/] ? true : false
end
|
.key_symbol ⇒ Object
380
381
382
|
# File 'lib/zanox.rb', line 380
def self.key_symbol
:leadId
end
|
.pluralize ⇒ Object
384
385
386
|
# File 'lib/zanox.rb', line 384
def self.pluralize
"Leads"
end
|