Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 011f4e7413
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.293 kB
class BeastResource < ActiveResource::Base
self.site = 'http://beast.caboo.se'
site.user = 'foo'
site.password = 'bar'
end
class Forum < BeastResource
# taken from BeastResource
# self.site = 'http://beast.caboo.se'
end
class Topic < BeastResource
site << '/forums/:forum_id'
end
Jump to Line
Something went wrong with that request. Please try again.