Module: Lipdub

Defined in:
lib/lipdub.rb,
lib/lipdub/client.rb,
lib/lipdub/errors.rb,
lib/lipdub/version.rb,
lib/lipdub/configuration.rb,
lib/lipdub/resources/base.rb,
lib/lipdub/resources/shots.rb,
lib/lipdub/resources/audios.rb,
lib/lipdub/resources/videos.rb,
lib/lipdub/resources/projects.rb

Defined Under Namespace

Modules: Resources Classes: APIError, AuthenticationError, Client, Configuration, ConfigurationError, ConnectionError, Error, NotFoundError, RateLimitError, ServerError, TimeoutError, ValidationError

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



19
20
21
# File 'lib/lipdub.rb', line 19

def configuration
  @configuration
end

Class Method Details

.clientObject



30
31
32
# File 'lib/lipdub.rb', line 30

def self.client
  @client ||= Client.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/lipdub.rb', line 26

def self.configure
  yield(configuration)
end