Sha256: 4ceacba760fb14a1e9212e7ae8592df95c3720777f10396ac5defdb09336b7d9

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'kegbot_api'

#
# REST endpoints and their corresponding KegbotApi classes/methods
#

client = KegbotApi::Client.new "http://demo.kegbot.org/api"

# /drinks
client.Drink.all

# /drinks/ID
client.Drink.find(1)

# /taps
client.Tap.all

# /kegs
client.Keg.all

# /kegs/ID
client.Keg.find(1)

# /sessions
client.Session.all

# /sessions/ID
client.Session.find(1)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kegbot_api-0.0.1 spec/example_2.rb