Class: ProblemDetails::Rails::Config
- Inherits:
-
Object
- Object
- ProblemDetails::Rails::Config
- Defined in:
- lib/problem_details/rails/config.rb
Instance Attribute Summary collapse
-
#default_json_content_type ⇒ Object
Returns the value of attribute default_json_content_type.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
22 23 24 |
# File 'lib/problem_details/rails/config.rb', line 22 def initialize @default_json_content_type = 'application/problem+json' end |
Instance Attribute Details
#default_json_content_type ⇒ Object
Returns the value of attribute default_json_content_type.
20 21 22 |
# File 'lib/problem_details/rails/config.rb', line 20 def default_json_content_type @default_json_content_type end |