Class: GetBlobResponse

Inherits:
CheckValues show all
Includes:
ActiveModel::Serializers::JSON
Defined in:
lib/chino_ruby.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from CheckValues

#check_boolean, #check_int, #check_json, #check_string

Instance Attribute Details

#blob_idObject

Returns the value of attribute blob_id.



1474
1475
1476
# File 'lib/chino_ruby.rb', line 1474

def blob_id
  @blob_id
end

#filenameObject

Returns the value of attribute filename.



1474
1475
1476
# File 'lib/chino_ruby.rb', line 1474

def filename
  @filename
end

#md5Object

Returns the value of attribute md5.



1474
1475
1476
# File 'lib/chino_ruby.rb', line 1474

def md5
  @md5
end

#pathObject

Returns the value of attribute path.



1474
1475
1476
# File 'lib/chino_ruby.rb', line 1474

def path
  @path
end

#sha1Object

Returns the value of attribute sha1.



1474
1475
1476
# File 'lib/chino_ruby.rb', line 1474

def sha1
  @sha1
end

#sizeObject

Returns the value of attribute size.



1474
1475
1476
# File 'lib/chino_ruby.rb', line 1474

def size
  @size
end

Instance Method Details

#attributesObject



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