Sha256: 7b53b93460794f9728e10b9205649b7263ea202fabf07073f138d1d8c7692086
Contents?: true
Size: 881 Bytes
Versions: 2
Compression:
Stored size: 881 Bytes
Contents
## # External dependencies # require 'net/https' require 'nokogiri' require 'addressable' ## # Classes from this gem # require 'nextcloud/ruby/version' require 'nextcloud/ruby/utils/errors' require 'nextcloud/ruby/configuration' require 'nextcloud/ruby/api' require 'nextcloud/ruby/response' require 'nextcloud/ruby/directory' require 'nextcloud/ruby/tag' require 'nextcloud/ruby/models/directory' require 'nextcloud/ruby/models/tag' ## # # Main module of Nextcloud API wrapper # # See 'nextcloud/ruby/configuration.rb' for more explanation how to set configuration # module Nextcloud module Ruby class << self attr_accessor :configuration end def self.configuration @configuration ||= Configuration.new end def self.reset @configuration = Configuration.new end def self.configure yield(configuration) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nextcloud-ruby-0.1.2 | lib/nextcloud/ruby.rb |
nextcloud-ruby-0.1.1 | lib/nextcloud/ruby.rb |