Module: ButterSand

Defined in:
lib/butter_sand.rb,
lib/butter_sand/error.rb,
lib/butter_sand/event.rb,
lib/butter_sand/client.rb,
lib/butter_sand/parser.rb,
lib/butter_sand/version.rb,
lib/butter_sand/api/events.rb

Defined Under Namespace

Modules: API Classes: BadRequest, Client, Error, Event, Forbidden, InternalServerError, NotAcceptable, NotFound, Parser, ServiceUnavailable, Unauthorized

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object



10
11
12
13
# File 'lib/butter_sand.rb', line 10

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

.newObject



6
7
8
# File 'lib/butter_sand.rb', line 6

def new
  ButterSand::Client.new
end