Class: Cryptsy::API2::Converter
- Inherits:
-
Object
- Object
- Cryptsy::API2::Converter
- Defined in:
- lib/cryptsy/api2/converter.rb
Instance Method Summary collapse
- #create(options) ⇒ Object
- #depositaddress(quote_id) ⇒ Object
- #info(quote_id) ⇒ Object
-
#initialize(public_key = nil, private_key = nil) ⇒ Converter
constructor
A new instance of Converter.
Constructor Details
#initialize(public_key = nil, private_key = nil) ⇒ Converter
Returns a new instance of Converter.
4 5 6 7 |
# File 'lib/cryptsy/api2/converter.rb', line 4 def initialize(public_key=nil, private_key=nil) @public_key = public_key @private_key = private_key end |
Instance Method Details
#create(options) ⇒ Object
9 10 11 |
# File 'lib/cryptsy/api2/converter.rb', line 9 def create() Request.send("converter", , @public_key, @private_key, "POST") end |