aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/fixtures/beast.rb
blob: e31ec5834638f3c2cbd1d811d4450746d50fcdd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
  self.site += '/forums/:forum_id'
end