Class: Wavix::Buy::Client
- Inherits:
-
Object
- Object
- Wavix::Buy::Client
- Defined in:
- lib/wavix/buy/client.rb
Instance Method Summary collapse
- #cities ⇒ Wavix::Cities::Client
- #countries ⇒ Wavix::Countries::Client
- #initialize(client:) ⇒ void constructor
- #numbers ⇒ Wavix::Numbers::Client
- #region_cities ⇒ Wavix::RegionCities::Client
- #regions ⇒ Wavix::Regions::Client
Constructor Details
#initialize(client:) ⇒ void
9 10 11 |
# File 'lib/wavix/buy/client.rb', line 9 def initialize(client:) @client = client end |
Instance Method Details
#cities ⇒ 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 |
#countries ⇒ 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 |
#numbers ⇒ Wavix::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_cities ⇒ 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 |