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/version.rb,
lib/user_engage/attribute.rb,
lib/user_engage/base_model.rb,
lib/user_engage/configuration.rb,
lib/user_engage/operation/find.rb,
lib/user_engage/operation/destroy.rb

Defined Under Namespace

Modules: Operation Classes: Attribute, BaseModel, Client, Configuration, InvalidFindAttributeException, List, NotExistingResourceException, ResourceNotFoundException, Tag, User

Constant Summary collapse

VERSION =
'0.0.5'.freeze

Class Method Summary collapse

Class Method Details

.clientObject



18
19
20
# File 'lib/user_engage.rb', line 18

def self.client
  Client.new(configuration)
end

.config {|configuration| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/user_engage.rb', line 14

def self.config
  yield(configuration)
end

.configurationObject



10
11
12
# File 'lib/user_engage.rb', line 10

def self.configuration
  @configuration ||= Configuration.new
end