Method: B2bCenterApi::RemoteAuction#create
- Defined in:
- lib/b2b_center_api/remote_auction.rb
#create(auction_data) ⇒ Integer
Создать новый аукцион
79 80 81 82 83 |
# File 'lib/b2b_center_api/remote_auction.rb', line 79 def create(auction_data) auction_data = auction_data.to_h unless auction_data.is_a? Hash response = @client_web.command :create, data: auction_data response.result[:value] end |