Class: Stitches::CallingServiceClient
- Inherits:
-
Struct
- Object
- Struct
- Stitches::CallingServiceClient
- Defined in:
- lib/stitches/calling_service_client.rb
Overview
Lightweight stand-in for ApiClient when the caller is identified by the X-StitchFix-Calling-Service header rather than an API key lookup. Implements the same interface (.name, .id, .key) so existing code that reads api_client.name continues to work.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/stitches/calling_service_client.rb', line 6 def name @name end |
Instance Method Details
#id ⇒ Object
7 8 9 |
# File 'lib/stitches/calling_service_client.rb', line 7 def id nil end |
#key ⇒ Object
11 12 13 |
# File 'lib/stitches/calling_service_client.rb', line 11 def key nil end |