module GreenButtonData

Constants

VERSION

Attributes

configuration[W]

Public Class Methods

configuration() click to toggle source
# File lib/green-button-data.rb, line 31
def self.configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/green-button-data.rb, line 35
def self.configure
  yield configuration
end
connect(configuration = {}) { |client| ... } click to toggle source
# File lib/green-button-data.rb, line 39
def self.connect(configuration = {})
  client = Client.new configuration
  yield client
  return client
end