Class: CrowdUser

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/models/crowd_user.rb

Class Method Summary collapse

Class Method Details

.apply_configurationObject

This is called after the configuraion settings are set in the initializer



4
5
6
7
8
9
# File 'lib/models/crowd_user.rb', line 4

def self.apply_configuration
  self.site = Crowd::Client::Config.service_base_url
  self.element_name = "user"
  self.user = Crowd::Client::Config.api_key
  self.password = ""
end