Class: Phraseapp::Rest::Parameter::Download

Inherits:
Base
  • Object
show all
Defined in:
lib/phraseapp-rest/parameter/download.rb

Constant Summary collapse

FILE_FORMAT =
['simple_json'].freeze

Instance Attribute Summary collapse

Attributes inherited from Base

#branch, #order, #sort

Instance Method Summary collapse

Methods inherited from Base

#to_s

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_formatObject

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