Class: ChinoRuby::GetRepositoriesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count.



436
437
438
# File 'lib/chino_ruby/classes.rb', line 436

def count
  @count
end

#limitObject

Returns the value of attribute limit.



436
437
438
# File 'lib/chino_ruby/classes.rb', line 436

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



436
437
438
# File 'lib/chino_ruby/classes.rb', line 436

def offset
  @offset
end

#repositoriesObject

Returns the value of attribute repositories.



436
437
438
# File 'lib/chino_ruby/classes.rb', line 436

def repositories
  @repositories
end

#total_countObject

Returns the value of attribute total_count.



436
437
438
# File 'lib/chino_ruby/classes.rb', line 436

def total_count
  @total_count
end

Instance Method Details

#attributesObject



444
445
446
# File 'lib/chino_ruby/classes.rb', line 444

def attributes
  instance_values
end

#attributes=(hash) ⇒ Object



438
439
440
441
442
# File 'lib/chino_ruby/classes.rb', line 438

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