Class: Repository

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

Overview

——————————REPOSITORIES———————————–#

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



489
490
491
# File 'lib/chino_ruby.rb', line 489

def description
  @description
end

#insert_dateObject

Returns the value of attribute insert_date.



489
490
491
# File 'lib/chino_ruby.rb', line 489

def insert_date
  @insert_date
end

#is_activeObject

Returns the value of attribute is_active.



489
490
491
# File 'lib/chino_ruby.rb', line 489

def is_active
  @is_active
end

#last_updateObject

Returns the value of attribute last_update.



489
490
491
# File 'lib/chino_ruby.rb', line 489

def last_update
  @last_update
end

#repository_idObject

Returns the value of attribute repository_id.



489
490
491
# File 'lib/chino_ruby.rb', line 489

def repository_id
  @repository_id
end

Instance Method Details

#attributesObject



497
498
499
# File 'lib/chino_ruby.rb', line 497

def attributes
    instance_values
end

#attributes=(hash) ⇒ Object



491
492
493
494
495
# File 'lib/chino_ruby.rb', line 491

def attributes=(hash)
    hash.each do |key, value|
        send("#{key}=", value)
    end
end