decaptcher 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ require "decaptcher/version"
6
6
 
7
7
  module Decaptcher
8
8
  extend self
9
-
9
+
10
10
  Response = Struct.new( :task_id, :code )
11
11
 
12
12
  @@api_uri = URI.parse( "http://www.fasttypers.org/imagepost.ashx" )
@@ -39,7 +39,7 @@ module Decaptcher
39
39
  return Response.new( task_id, response )
40
40
  end
41
41
 
42
- def refund
42
+ def refund( task_id )
43
43
  request = Net::HTTP::Post.new( @@api_uri.path )
44
44
  request.set_form_data(
45
45
  "Action" => "refund",
@@ -1,3 +1,3 @@
1
1
  module Decaptcher
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decaptcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: