lib/github_api/say.rb in github_api-0.9.0 vs lib/github_api/say.rb in github_api-0.9.1
- old
+ new
@@ -10,12 +10,10 @@
#
# github = Github.new
# github.octocat.say "My custom string..."
#
def say(*args)
- params = args.extract_options!
- normalize! params
-
+ params = arguments(*args).params
params[:s] = args.shift unless args.empty?
get_request('/octocat', params, :raw => true)
end