Class: Phraseapp::Rest::Parameter::Download
- Defined in:
- lib/phraseapp-rest/parameter/download.rb
Constant Summary collapse
- FILE_FORMAT =
['simple_json'].freeze
Instance Attribute Summary collapse
-
#file_format ⇒ Object
Returns the value of attribute file_format.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(file_format: 'simple_json') ⇒ Download
constructor
A new instance of Download.
Methods inherited from Base
Constructor Details
#initialize(file_format: 'simple_json') ⇒ Download
Returns a new instance of Download.
13 14 15 |
# File 'lib/phraseapp-rest/parameter/download.rb', line 13 def initialize(file_format: 'simple_json') self.file_format = file_format end |
Instance Attribute Details
#file_format ⇒ Object
Returns the value of attribute file_format.
11 12 13 |
# File 'lib/phraseapp-rest/parameter/download.rb', line 11 def file_format @file_format end |