Skip to content
Browse files

Makes api_template name a required attribute

  • Loading branch information...
1 parent f59a764 commit 76c724c639ea325b7fc545729f9ba2d1f80bd589 @benedikt committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/acts_as_api/api_template.rb
View
2 lib/acts_as_api/api_template.rb
@@ -14,7 +14,7 @@ class ApiTemplate < Hash
attr_reader :options
- def initialize(api_template = nil)
+ def initialize(api_template)
self.api_template = api_template
@options ||= {}
end

0 comments on commit 76c724c

Please sign in to comment.
Something went wrong with that request. Please try again.