Class: AppStoreDevApi::Schema::WebServiceEndpoint
- Inherits:
-
Object
- Object
- AppStoreDevApi::Schema::WebServiceEndpoint
- Defined in:
- lib/app_store_dev_api/schema/web_service_endpoint.rb
Instance Method Summary collapse
- #alias ⇒ Object
- #http_body_type ⇒ Object
- #http_method ⇒ Object
-
#initialize(options) ⇒ WebServiceEndpoint
constructor
A new instance of WebServiceEndpoint.
- #url ⇒ Object
Constructor Details
#initialize(options) ⇒ WebServiceEndpoint
Returns a new instance of WebServiceEndpoint.
6 7 8 |
# File 'lib/app_store_dev_api/schema/web_service_endpoint.rb', line 6 def initialize() @options = end |
Instance Method Details
#alias ⇒ Object
10 11 12 |
# File 'lib/app_store_dev_api/schema/web_service_endpoint.rb', line 10 def alias @options.fetch(:alias).to_sym end |
#http_body_type ⇒ Object
18 19 20 |
# File 'lib/app_store_dev_api/schema/web_service_endpoint.rb', line 18 def http_body_type @options[:http_body_type] end |
#http_method ⇒ Object
14 15 16 |
# File 'lib/app_store_dev_api/schema/web_service_endpoint.rb', line 14 def http_method @options[:http_method].to_sym end |
#url ⇒ Object
22 23 24 |
# File 'lib/app_store_dev_api/schema/web_service_endpoint.rb', line 22 def url @options[:url] end |