Class: Ldbws::Request::GetServiceDetails

Inherits:
Base
  • Object
show all
Defined in:
lib/ldbws/request/get_service_details.rb

Overview

Returns details about a particular service. Corresponds to GetServiceDetailsResponse in the LDBWS schema.

Parameters

service_id

the ID of the service (required)

Constant Summary collapse

SCHEMA =

:nodoc:

Dry::Schema.Params do
  required(:service_id).filled(:string)
end
RESULT_XPATH =

:nodoc:

"GetServiceDetailsResult"
RESULT_TYPE =

:nodoc:

Ldbws::ResponseTypes::ServiceDetails

Instance Method Summary collapse

Methods inherited from Base

#from_soap, #initialize, #to_soap

Constructor Details

This class inherits a constructor from Ldbws::Request::Base

Instance Method Details

#to_soap_paramsObject

:nodoc:



23
24
25
26
27
# File 'lib/ldbws/request/get_service_details.rb', line 23

def to_soap_params
  {
    serviceID: @params[:service_id],
  }
end