Module: UserEngage
- Defined in:
- lib/user_engage.rb,
lib/user_engage/tag.rb,
lib/user_engage/list.rb,
lib/user_engage/user.rb,
lib/user_engage/client.rb,
lib/user_engage/errors.rb,
lib/user_engage/company.rb,
lib/user_engage/version.rb,
lib/user_engage/attribute.rb,
lib/user_engage/base_model.rb,
lib/user_engage/configuration.rb,
lib/user_engage/operation/all.rb,
lib/user_engage/operation/find.rb,
lib/user_engage/operation/create.rb,
lib/user_engage/operation/destroy.rb,
lib/user_engage/resource_collection.rb,
lib/user_engage/operation/update_attributes.rb
Defined Under Namespace
Modules: Operation
Classes: Attribute, BaseModel, Client, Company, Configuration, CreateNotSuccessfulException, InvalidFindAttributeException, List, NoNextPageAvailableException, NoPreviousPageAvailableException, NotExistingResourceException, ResourceCollection, ResourceNotFoundException, Tag, User
Constant Summary
collapse
- VERSION =
'0.0.8'
Class Method Summary
collapse
Class Method Details
.client ⇒ Object
21
22
23
|
# File 'lib/user_engage.rb', line 21
def self.client
Client.new(configuration)
end
|
.config {|configuration| ... } ⇒ Object
17
18
19
|
# File 'lib/user_engage.rb', line 17
def self.config
yield(configuration)
end
|
.configuration ⇒ Object
13
14
15
|
# File 'lib/user_engage.rb', line 13
def self.configuration
@configuration ||= Configuration.new
end
|