Sha256: 82a9a61755c5ecc3fc37c05ff922ec8bc7d81fb6b20bc0cc64fa014de094c3cf

Contents?: true

Size: 685 Bytes

Versions: 3

Compression:

Stored size: 685 Bytes

Contents

module ActionWebService # :nodoc:
  module Protocol # :nodoc:
    class ProtocolError < ActionWebServiceError # :nodoc:
    end

    class Request # :nodoc:
      attr :protocol
      attr :method_name
      attr :method_params
      attr :service_name

      def initialize(protocol, method_name, method_params, service_name)
        @protocol = protocol
        @method_name = method_name
        @method_params = method_params
        @service_name = service_name
      end
    end

    class Response # :nodoc:
      attr :body
      attr :content_type

      def initialize(body, content_type)
        @body = body
        @content_type = content_type
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
actionwebservice-0.6.0 lib/action_web_service/protocol/abstract.rb
actionwebservice-0.6.1 lib/action_web_service/protocol/abstract.rb
actionwebservice-0.6.2 lib/action_web_service/protocol/abstract.rb