Permalink
Browse files

small fix on transport layer

  • Loading branch information...
1 parent 4f7b6c6 commit ab7f21c273568a0f446dc73a2d170374224d2597 @phifty committed Mar 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/allegro_graph/transport.rb
@@ -36,7 +36,7 @@ def perform
private
def initialize_request_class
- request_class_name = @http_method.capitalize
+ request_class_name = @http_method.to_s.capitalize
raise NotImplementedError, "the request method #{http_method} is not implemented" unless Net::HTTP.const_defined?(request_class_name)
@request_class = Net::HTTP.const_get request_class_name
end

0 comments on commit ab7f21c

Please sign in to comment.