Class: OpenReceive::SwapsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/openreceive/swaps_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



9
10
11
# File 'app/controllers/openreceive/swaps_controller.rb', line 9

def create
  respond_with(:create_swap)
end

#quoteObject



5
6
7
# File 'app/controllers/openreceive/swaps_controller.rb', line 5

def quote
  respond_with(:quote_swap)
end

#refundObject



17
18
19
# File 'app/controllers/openreceive/swaps_controller.rb', line 17

def refund
  respond_with(:refund_swap)
end

#statusObject



13
14
15
# File 'app/controllers/openreceive/swaps_controller.rb', line 13

def status
  respond_with(:get_swap)
end