aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/examples/metaWeblog/blog_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/examples/metaWeblog/blog_controller.rb')
-rw-r--r--actionwebservice/examples/metaWeblog/blog_controller.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/actionwebservice/examples/metaWeblog/blog_controller.rb b/actionwebservice/examples/metaWeblog/blog_controller.rb
index aff2e909ea..e575203311 100644
--- a/actionwebservice/examples/metaWeblog/blog_controller.rb
+++ b/actionwebservice/examples/metaWeblog/blog_controller.rb
@@ -4,18 +4,18 @@
# structures as defined by the metaWeblog/blogger
# specifications.
module Blog
- class Enclosure < ActionService::Struct
+ class Enclosure < ActionWebService::Struct
member :url, :string
member :length, :int
member :type, :string
end
- class Source < ActionService::Struct
+ class Source < ActionWebService::Struct
member :url, :string
member :name, :string
end
- class Post < ActionService::Struct
+ class Post < ActionWebService::Struct
member :title, :string
member :link, :string
member :description, :string
@@ -28,7 +28,7 @@ module Blog
member :source, Source
end
- class Blog < ActionService::Struct
+ class Blog < ActionWebService::Struct
member :url, :string
member :blogid, :string
member :blogName, :string
@@ -36,7 +36,7 @@ module Blog
end
# skeleton metaWeblog API
-class MetaWeblogAPI < ActionService::API::Base
+class MetaWeblogAPI < ActionWebService::API::Base
inflect_names false
api_method :newPost, :returns => [:string], :expects => [