Module: Zanox::Program
- 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
303
304
305
|
# File 'lib/zanox.rb', line 303
def self.is_key?(id)
id.to_s[/^[0-9]{1,8}$/] ? true : false
end
|
.key_symbol ⇒ Object
295
296
297
|
# File 'lib/zanox.rb', line 295
def self.key_symbol
:programId
end
|
.pluralize ⇒ Object
299
300
301
|
# File 'lib/zanox.rb', line 299
def self.pluralize
"Programs"
end
|