Class: Ucb::Hcm::Api
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Api
constructor
A new instance of Api.
Methods included from Request
#client, #get, #post, #respond
Constructor Details
#initialize(options = {}) ⇒ Api
Returns a new instance of Api.
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/ucb/hcm/api.rb', line 13 def initialize(={}) # Merge the config values from the module and those passed # to the client. = Ucb::Hcm..merge() # Copy the merged values to this client and ignore those # not part of our configuration Configuration::VALID_CONFIG_KEYS.each do |key| send("#{key}=", [key]) end end |