Class: ChinoRuby::GetBlobResponse
- Inherits:
-
CheckValues
- Object
- CheckValues
- ChinoRuby::GetBlobResponse
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.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.
1480 1481 1482 |
# File 'lib/chino_ruby/classes.rb', line 1480 def blob_id @blob_id end |
#filename ⇒ Object
Returns the value of attribute filename.
1480 1481 1482 |
# File 'lib/chino_ruby/classes.rb', line 1480 def filename @filename end |
#md5 ⇒ Object
Returns the value of attribute md5.
1480 1481 1482 |
# File 'lib/chino_ruby/classes.rb', line 1480 def md5 @md5 end |
#path ⇒ Object
Returns the value of attribute path.
1480 1481 1482 |
# File 'lib/chino_ruby/classes.rb', line 1480 def path @path end |
#sha1 ⇒ Object
Returns the value of attribute sha1.
1480 1481 1482 |
# File 'lib/chino_ruby/classes.rb', line 1480 def sha1 @sha1 end |
#size ⇒ Object
Returns the value of attribute size.
1480 1481 1482 |
# File 'lib/chino_ruby/classes.rb', line 1480 def size @size end |
Instance Method Details
#attributes ⇒ Object
1488 1489 1490 |
# File 'lib/chino_ruby/classes.rb', line 1488 def attributes instance_values end |
#attributes=(hash) ⇒ Object
1482 1483 1484 1485 1486 |
# File 'lib/chino_ruby/classes.rb', line 1482 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |