Class: Taleo::Location

Inherits:
Resource show all
Defined in:
lib/taleo/location.rb

Instance Attribute Summary

Attributes inherited from Resource

#client, #data

Instance Method Summary collapse

Methods inherited from Resource

has_many, has_one, #initialize, #related_resource, #related_resources, #relationship_urls

Constructor Details

This class inherits a constructor from Taleo::Resource

Instance Method Details

#idObject



5
6
7
# File 'lib/taleo/location.rb', line 5

def id
  data.fetch('id')
end

#nameObject



9
10
11
# File 'lib/taleo/location.rb', line 9

def name
  data.fetch('locationName')
end