Module: Evropochta::Addresses::GetAddressId

Defined in:
lib/evropochta/addresses/get_address_id.rb

Class Method Summary collapse

Class Method Details

.call(address4_id:, address3_name:, address2_name:, address1_name:, porch:, floorx:) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/evropochta/addresses/get_address_id.rb', line 6

def call(address4_id:, address3_name:, address2_name:, address1_name:, porch:, floorx:)
  Services::Shared.request(
    "Addresses.GetAddressId",
    {
      Address4Id: address4_id,
      Address3Name: address3_name,
      Address2Name: address2_name,
      Address1Name: address1_name,
      Porch: porch,
      Floorx: floorx
    }
  )
end