Class: Startback::Services
- Inherits:
-
Object
- Object
- Startback::Services
- Includes:
- Errors
- Defined in:
- lib/startback/services.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ Services
constructor
A new instance of Services.
Methods included from Errors
bad_request_error!, conflict_error!, expectation_failed_error!, forbidden_error!, gone_error!, internal_server_error!, locked_error!, method_not_allowed_error!, not_acceptable_error!, not_found_error!, not_implemented_error!, precondition_failed_error!, precondition_required_error!, server_error!, unauthorized_error!, unsupported_media_type_error!, user_error!
Constructor Details
#initialize(context) ⇒ Services
Returns a new instance of Services.
5 6 7 |
# File 'lib/startback/services.rb', line 5 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
8 9 10 |
# File 'lib/startback/services.rb', line 8 def context @context end |