Module: Putio

Defined in:
lib/putio-ruby.rb,
lib/putio-ruby/file.rb,
lib/putio-ruby/error.rb,
lib/putio-ruby/version.rb,
lib/putio-ruby/transfer.rb,
lib/putio-ruby/api/client.rb,
lib/putio-ruby/api/object.rb,
lib/putio-ruby/configuration.rb,
lib/putio-ruby/middleware/parse_root.rb,
lib/putio-ruby/middleware/oauth_token.rb,
lib/putio-ruby/middleware/error_handler.rb

Defined Under Namespace

Modules: Api, Middleware Classes: ApplicationCredentialsRequired, BadRequest, Configuration, Error, File, ServerError, Transfer

Constant Summary collapse

VERSION =
"0.3.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



28
29
30
# File 'lib/putio-ruby.rb', line 28

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

Class Method Details

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

Yields:



32
33
34
# File 'lib/putio-ruby.rb', line 32

def self.configure
  yield(configuration)
end