Module: Nextcloud::Ruby

Defined in:
lib/nextcloud/ruby.rb,
lib/nextcloud/ruby/api.rb,
lib/nextcloud/ruby/tag.rb,
lib/nextcloud/ruby/version.rb,
lib/nextcloud/ruby/response.rb,
lib/nextcloud/ruby/directory.rb,
lib/nextcloud/ruby/models/tag.rb,
lib/nextcloud/ruby/utils/errors.rb,
lib/nextcloud/ruby/configuration.rb,
lib/nextcloud/ruby/models/directory.rb

Defined Under Namespace

Modules: Errors, Models Classes: Api, Configuration, Directory, Response, Tag

Constant Summary collapse

VERSION =
'0.1.1'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



43
44
45
# File 'lib/nextcloud/ruby.rb', line 43

def self.configure
  yield(configuration)
end

.resetObject



39
40
41
# File 'lib/nextcloud/ruby.rb', line 39

def self.reset
  @configuration = Configuration.new
end