Method: BatchBook::Company#location

Defined in:
lib/batchbook.rb

#location(label) ⇒ Object

Raises:



183
184
185
186
# File 'lib/batchbook.rb', line 183

def location label
  raise Error, "Location label not specified.  Usage:  person.location('label_name')" unless label
  self.get('locations', :label => label)
end