Class: Wes::Data::API::Configuration
- Inherits:
-
Object
- Object
- Wes::Data::API::Configuration
- Defined in:
- lib/wes/data/api/configuration.rb
Constant Summary collapse
- DEFAULT_VERSION =
'v1'.freeze
Class Attribute Summary collapse
-
.endpoint ⇒ Object
Returns the value of attribute endpoint.
-
.transcoded_video_filename_suffix ⇒ Object
Returns the value of attribute transcoded_video_filename_suffix.
- .version ⇒ Object
Class Method Summary collapse
Class Attribute Details
.endpoint ⇒ Object
Returns the value of attribute endpoint.
10 11 12 |
# File 'lib/wes/data/api/configuration.rb', line 10 def endpoint @endpoint end |
.transcoded_video_filename_suffix ⇒ Object
Returns the value of attribute transcoded_video_filename_suffix.
10 11 12 |
# File 'lib/wes/data/api/configuration.rb', line 10 def transcoded_video_filename_suffix @transcoded_video_filename_suffix end |
.version ⇒ Object
22 23 24 |
# File 'lib/wes/data/api/configuration.rb', line 22 def version @version ||= DEFAULT_VERSION end |
Class Method Details
.configure {|_self| ... } ⇒ Object
13 14 15 16 |
# File 'lib/wes/data/api/configuration.rb', line 13 def configure(&_block) yield self self end |
.routes ⇒ Object
18 19 20 |
# File 'lib/wes/data/api/configuration.rb', line 18 def routes Routes.hash end |