Module: VNCPostAPI

Defined in:
lib/vncpost_api.rb,
lib/vncpost_api/cache.rb,
lib/vncpost_api/version.rb,
lib/vncpost_api/connection.rb,
lib/vncpost_api/configuration.rb,
lib/vncpost_api/resources/base.rb,
lib/vncpost_api/resources/order.rb,
lib/vncpost_api/resources/tracking.rb,
lib/vncpost_api/resources/user_login.rb

Defined Under Namespace

Classes: Base, Configuration, Connection, Order, ResourceInvalid, Tracking, UserLogin

Constant Summary collapse

VERSION =
"0.4.0"

Class Method Summary collapse

Class Method Details

.configObject



8
9
10
# File 'lib/vncpost_api/configuration.rb', line 8

def config
  @config ||= Configuration.new
end

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

Yields:



12
13
14
15
16
# File 'lib/vncpost_api/configuration.rb', line 12

def configure
  yield config

  after_configure
end