Skip to content

Commit e56f10e

Browse files
author
Maksym Naichuk
committed
add new registry
1 parent 87c9110 commit e56f10e

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

lib/peatio/ramp/base.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# frozen_string_literal: true
2+
3+
module Peatio
4+
module Ramp
5+
class Base
6+
def ramp_on_transaction(currency_id, address, options = {})
7+
method_not_implemented
8+
end
9+
10+
def ramp_off_transaction(currency_id, options = {})
11+
method_not_implemented
12+
end
13+
end
14+
end
15+
end

lib/peatio/ramp/registry.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# frozen_string_literal: true
2+
3+
module Peatio
4+
module Ramp
5+
class << self
6+
def registry
7+
@registry ||= Registry.new
8+
end
9+
10+
class Registry < Peatio::AdapterRegistry
11+
end
12+
end
13+
end
14+
end

0 commit comments

Comments
 (0)