Module: Intown

Defined in:
lib/intown.rb,
lib/intown/event.rb,
lib/intown/artist.rb,
lib/intown/client.rb,
lib/intown/errors.rb,
lib/intown/version.rb,
lib/intown/configuration.rb

Defined Under Namespace

Classes: Artist, Client, Configuration, Event

Constant Summary collapse

IntownError =
Class.new(StandardError)
InvalidRequestError =
Class.new(IntownError)
InternalServerError =
Class.new(IntownError)
BadGatewayError =
Class.new(IntownError)
VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.configurationObject



12
13
14
# File 'lib/intown/configuration.rb', line 12

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



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

def configure(&block)
  @configuration = Configuration.new
  yield @configuration
end