Class: Gillbus::GetCities::Request

Inherits:
BaseRequest show all
Defined in:
lib/gillbus/get_cities.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseRequest

#initialize, #method

Constructor Details

This class inherits a constructor from Gillbus::BaseRequest

Instance Attribute Details

#start_city_idObject

Returns the value of attribute start_city_id.



8
9
10
# File 'lib/gillbus/get_cities.rb', line 8

def start_city_id
  @start_city_id
end

Instance Method Details

#paramsObject



10
11
12
13
14
# File 'lib/gillbus/get_cities.rb', line 10

def params
  {
    startCityId: start_city_id,
  }
end

#pathObject



6
# File 'lib/gillbus/get_cities.rb', line 6

def path; '/online2/getCities' end