Sha256: 154866e91a3a49fb7e374daa47e256a69b1e0de3f5360402d40fbbabb866929e

Contents?: true

Size: 439 Bytes

Versions: 5

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

module AppStoreConnect
  class Schema
    class WebServiceEndpoint
      def initialize(**options)
        @options = options
      end

      def alias
        @options.fetch(:alias).to_sym
      end

      def http_method
        @options[:http_method].to_sym
      end

      def http_body_type
        @options[:http_body_type]
      end

      def url
        @options[:url]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
app_store_connect-0.13.0 lib/app_store_connect/schema/web_service_endpoint.rb
app_store_connect-0.12.2 lib/app_store_connect/schema/web_service_endpoint.rb
app_store_connect-0.12.1 lib/app_store_connect/schema/web_service_endpoint.rb
app_store_connect-0.12.0 lib/app_store_connect/schema/web_service_endpoint.rb
app_store_connect-0.11.0 lib/app_store_connect/schema/web_service_endpoint.rb