Class: Culqi::Charge
- Inherits:
-
Object
- Object
- Culqi::Charge
- Defined in:
- lib/culqi/charge.rb
Constant Summary collapse
- URL =
'/charges/'
Instance Method Summary collapse
Methods included from List
Methods included from Post
Methods included from Get
Instance Method Details
#capture(id) ⇒ Object
13 14 15 16 |
# File 'lib/culqi/charge.rb', line 13 def capture(id) response = Culqi.connect(URL+id+"/capture/", Culqi.api_key, nil, "post") return response.read_body end |