Module: Zanox::Adspace

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



354
355
356
# File 'lib/zanox.rb', line 354

def self.is_key?(id)
  id.to_s[/^[0-9]{2,10}$/] ? true : false
end

.key_symbolObject



346
347
348
# File 'lib/zanox.rb', line 346

def self.key_symbol
  :adspaceId
end

.pluralizeObject



350
351
352
# File 'lib/zanox.rb', line 350

def self.pluralize
  "Adspaces"
end