Class: Ruush::Parser::UploadObject
- Inherits:
-
Struct
- Object
- Struct
- Ruush::Parser::UploadObject
- Defined in:
- lib/ruush/parser.rb
Overview
order is important here
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#url ⇒ Object
Returns the value of attribute url.
-
#usage_string ⇒ Object
Returns the value of attribute usage_string.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
25 26 27 |
# File 'lib/ruush/parser.rb', line 25 def id @id end |
#url ⇒ Object
Returns the value of attribute url
25 26 27 |
# File 'lib/ruush/parser.rb', line 25 def url @url end |
#usage_string ⇒ Object
Returns the value of attribute usage_string
25 26 27 |
# File 'lib/ruush/parser.rb', line 25 def usage_string @usage_string end |
Instance Method Details
#usage_bytes ⇒ Object
26 27 28 |
# File 'lib/ruush/parser.rb', line 26 def usage_bytes usage_string.to_i end |