class Coinone::Order::TradeResponse
Attributes
order_id[R]
result[R]
Public Class Methods
new(options={})
click to toggle source
# File lib/coinone/order/trade_response.rb, line 11 def initialize(options={}) @result = options[:result] || nil @order_id= nil update_response(options) end
Public Instance Methods
update_response(params={})
click to toggle source
# File lib/coinone/order/trade_response.rb, line 21 def update_response(params={}) @result = params[:result] if params.has_key? :result @order_id = params[:orderId] if params.has_key? :orderId end