Class: Wavix::Buy::Client

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

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ void

Parameters:



9
10
11
# File 'lib/wavix/buy/client.rb', line 9

def initialize(client:)
  @client = client
end

Instance Method Details

#citiesWavix::Cities::Client

Returns:

  • (Wavix::Cities::Client)


24
25
26
# File 'lib/wavix/buy/client.rb', line 24

def cities
  @cities ||= Wavix::Buy::Cities::Client.new(client: @client)
end

#countriesWavix::Countries::Client

Returns:

  • (Wavix::Countries::Client)


14
15
16
# File 'lib/wavix/buy/client.rb', line 14

def countries
  @countries ||= Wavix::Buy::Countries::Client.new(client: @client)
end

#numbersWavix::Numbers::Client



34
35
36
# File 'lib/wavix/buy/client.rb', line 34

def numbers
  @numbers ||= Wavix::Buy::Numbers::Client.new(client: @client)
end

#region_citiesWavix::RegionCities::Client

Returns:

  • (Wavix::RegionCities::Client)


29
30
31
# File 'lib/wavix/buy/client.rb', line 29

def region_cities
  @region_cities ||= Wavix::Buy::RegionCities::Client.new(client: @client)
end

#regionsWavix::Regions::Client

Returns:

  • (Wavix::Regions::Client)


19
20
21
# File 'lib/wavix/buy/client.rb', line 19

def regions
  @regions ||= Wavix::Buy::Regions::Client.new(client: @client)
end