Module: Spage

Defined in:
lib/spage.rb,
lib/spage/api.rb,
lib/spage/client.rb,
lib/spage/config.rb,
lib/spage/version.rb,
lib/spage/api/page.rb,
lib/spage/api/incident.rb,
lib/spage/api/component.rb,
lib/spage/resources/page.rb,
lib/spage/serializers/page.rb,
lib/spage/resources/incident.rb,
lib/spage/resources/component.rb,
lib/spage/serializers/incident.rb,
lib/spage/serializers/component.rb

Overview

Base module for the Spage Client

Defined Under Namespace

Modules: Api, Serializers Classes: Client, Component, Config, Error, Incident, Page

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.configObject



33
34
35
# File 'lib/spage.rb', line 33

def self.config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



37
38
39
40
# File 'lib/spage.rb', line 37

def self.configure
  yield(config)
  config
end