Class: GetBlobResponse
- Inherits:
-
CheckValues
- Object
- CheckValues
- GetBlobResponse
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.rb
Instance Attribute Summary collapse
-
#blob_id ⇒ Object
Returns the value of attribute blob_id.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#md5 ⇒ Object
Returns the value of attribute md5.
-
#path ⇒ Object
Returns the value of attribute path.
-
#sha1 ⇒ Object
Returns the value of attribute sha1.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
Methods inherited from CheckValues
#check_boolean, #check_int, #check_json, #check_string
Instance Attribute Details
#blob_id ⇒ Object
Returns the value of attribute blob_id.
1474 1475 1476 |
# File 'lib/chino_ruby.rb', line 1474 def blob_id @blob_id end |
#filename ⇒ Object
Returns the value of attribute filename.
1474 1475 1476 |
# File 'lib/chino_ruby.rb', line 1474 def filename @filename end |
#md5 ⇒ Object
Returns the value of attribute md5.
1474 1475 1476 |
# File 'lib/chino_ruby.rb', line 1474 def md5 @md5 end |
#path ⇒ Object
Returns the value of attribute path.
1474 1475 1476 |
# File 'lib/chino_ruby.rb', line 1474 def path @path end |
#sha1 ⇒ Object
Returns the value of attribute sha1.
1474 1475 1476 |
# File 'lib/chino_ruby.rb', line 1474 def sha1 @sha1 end |
#size ⇒ Object
Returns the value of attribute size.
1474 1475 1476 |
# File 'lib/chino_ruby.rb', line 1474 def size @size end |
Instance Method Details
#attributes ⇒ Object
1482 1483 1484 |
# File 'lib/chino_ruby.rb', line 1482 def attributes instance_values end |
#attributes=(hash) ⇒ Object
1476 1477 1478 1479 1480 |
# File 'lib/chino_ruby.rb', line 1476 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |