Class: Ruush::Parser::UploadObject

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruush/parser.rb

Overview

order is important here

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



25
26
27
# File 'lib/ruush/parser.rb', line 25

def id
  @id
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



25
26
27
# File 'lib/ruush/parser.rb', line 25

def url
  @url
end

#usage_stringObject

Returns the value of attribute usage_string

Returns:

  • (Object)

    the current value of usage_string



25
26
27
# File 'lib/ruush/parser.rb', line 25

def usage_string
  @usage_string
end

Instance Method Details

#usage_bytesObject



26
27
28
# File 'lib/ruush/parser.rb', line 26

def usage_bytes
  usage_string.to_i
end