Class: B2bCenterApi::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/b2b_center_api/client.rb

Overview

Client for API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClient

Returns a new instance of Client.



20
21
22
23
24
25
# File 'lib/b2b_center_api/client.rb', line 20

def initialize
  @client = Savon.client(Settings.soap_options)
  @remote_auction = RemoteAuction.new(@client)
  @remote_market = RemoteMarket.new(@client)
  @remote_tender = RemoteTender.new(@client)
end

Instance Attribute Details

#remote_auctionRemoteAuction

Методы класса RemoteAuction

Returns:



12
13
14
# File 'lib/b2b_center_api/client.rb', line 12

def remote_auction
  @remote_auction
end

#remote_marketRemoteMarket

Методы класса RemoteMarket

Returns:



15
16
17
# File 'lib/b2b_center_api/client.rb', line 15

def remote_market
  @remote_market
end

#remote_tenderRemoteTender

Методы класса RemoteTender

Returns:



18
19
20
# File 'lib/b2b_center_api/client.rb', line 18

def remote_tender
  @remote_tender
end