Class: MrMurano::Webservice::Endpoint::RouteItem
- Inherits:
-
Item
- Object
- Item
- MrMurano::Webservice::Endpoint::RouteItem
- Defined in:
- lib/MrMurano/Webservice-Endpoint.rb
Overview
Route Specific details on an Item
Instance Attribute Summary collapse
-
#content_type ⇒ String
Acceptable Content-Type for this endpoint.
-
#method ⇒ String
HTTP method for this endpoint.
-
#path ⇒ String
Path for URL maps to this endpoint.
-
#use_basic_auth ⇒ Object
NOTE: We do not use use_basic_auth internally, but it’s passed from the server, so the code actually indirectly sees it in ‘def []=`.
Instance Method Summary collapse
Instance Attribute Details
#content_type ⇒ String
Returns Acceptable Content-Type for this endpoint.
27 28 29 |
# File 'lib/MrMurano/Webservice-Endpoint.rb', line 27 def content_type @content_type end |
#method ⇒ String
Returns HTTP method for this endpoint.
23 24 25 |
# File 'lib/MrMurano/Webservice-Endpoint.rb', line 23 def method @method end |
#path ⇒ String
Returns path for URL maps to this endpoint.
25 26 27 |
# File 'lib/MrMurano/Webservice-Endpoint.rb', line 25 def path @path end |
#use_basic_auth ⇒ Object
NOTE: We do not use use_basic_auth internally, but it’s passed from the server, so the code actually indirectly sees it in ‘def []=`.
30 31 32 |
# File 'lib/MrMurano/Webservice-Endpoint.rb', line 30 def use_basic_auth @use_basic_auth end |
Instance Method Details
#reject_ephemeral ⇒ Object
32 33 34 35 |
# File 'lib/MrMurano/Webservice-Endpoint.rb', line 32 def reject_ephemeral # All attrs exist on server, so nothing to remove. super end |