aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/struct.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activeresource/lib/active_resource/struct.rb')
-rw-r--r--activeresource/lib/active_resource/struct.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/activeresource/lib/active_resource/struct.rb b/activeresource/lib/active_resource/struct.rb
deleted file mode 100644
index ee1f15d781..0000000000
--- a/activeresource/lib/active_resource/struct.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-module ActiveResource
- # Class that allows a connection to a remote resource.
- # Person = ActiveResource::Struct.new do |p|
- # p.uri "http://www.mypeople.com/people"
- # p.credentials :username => "mycreds", :password => "wordofpassage"
- # end
- #
- # person = Person.find(1)
- # person.name = "David"
- # person.save!
- class Struct
- def self.create
- Class.new(Base)
- end
- end
-end \ No newline at end of file