Module: Vercellus

Defined in:
lib/vercellus.rb,
lib/vercellus/version.rb,
lib/vercellus/configuration.rb,
lib/vercellus/utils/request.rb,
lib/vercellus/errors/configuration.rb

Overview

Vercellus is a ruby gem for the vercel api. Check here vercel.com/docs/api .

Defined Under Namespace

Modules: Errors, Utils Classes: Configuration

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



17
18
19
# File 'lib/vercellus.rb', line 17

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

Class Method Details

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

Yields:



25
26
27
# File 'lib/vercellus.rb', line 25

def self.configure
  yield(configuration)
end

.resetObject



21
22
23
# File 'lib/vercellus.rb', line 21

def self.reset
  @configuration = Configuration.new
end