Class: ChinoRuby::GetBlobResponse

Inherits:
CheckValues show all
Includes:
ActiveModel::Serializers::JSON
Defined in:
lib/chino_ruby/classes.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.



1480
1481
1482
# File 'lib/chino_ruby/classes.rb', line 1480

def blob_id
  @blob_id
end

#filenameObject

Returns the value of attribute filename.



1480
1481
1482
# File 'lib/chino_ruby/classes.rb', line 1480

def filename
  @filename
end

#md5Object

Returns the value of attribute md5.



1480
1481
1482
# File 'lib/chino_ruby/classes.rb', line 1480

def md5
  @md5
end

#pathObject

Returns the value of attribute path.



1480
1481
1482
# File 'lib/chino_ruby/classes.rb', line 1480

def path
  @path
end

#sha1Object

Returns the value of attribute sha1.



1480
1481
1482
# File 'lib/chino_ruby/classes.rb', line 1480

def sha1
  @sha1
end

#sizeObject

Returns the value of attribute size.



1480
1481
1482
# File 'lib/chino_ruby/classes.rb', line 1480

def size
  @size
end

Instance Method Details

#attributesObject



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