Class: R2OAS::AppConfiguration::Server
- Inherits:
-
Object
- Object
- R2OAS::AppConfiguration::Server
- Defined in:
- lib/r2-oas/app_configuration/server.rb
Constant Summary collapse
- DEFAULT_URL =
'http://localhost:3000'- DEFAULT_DESCRIPTION =
'localhost'- VALID_OPTIONS_KEYS =
[ :data ].freeze
Instance Method Summary collapse
- #configure {|_self| ... } ⇒ Object
-
#initialize ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize ⇒ Server
Returns a new instance of Server.
15 16 17 |
# File 'lib/r2-oas/app_configuration/server.rb', line 15 def initialize set_default end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
19 20 21 |
# File 'lib/r2-oas/app_configuration/server.rb', line 19 def configure yield self end |