Class: GetRepositoriesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count.



505
506
507
# File 'lib/chino_ruby.rb', line 505

def count
  @count
end

#limitObject

Returns the value of attribute limit.



505
506
507
# File 'lib/chino_ruby.rb', line 505

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



505
506
507
# File 'lib/chino_ruby.rb', line 505

def offset
  @offset
end

#repositoriesObject

Returns the value of attribute repositories.



505
506
507
# File 'lib/chino_ruby.rb', line 505

def repositories
  @repositories
end

#total_countObject

Returns the value of attribute total_count.



505
506
507
# File 'lib/chino_ruby.rb', line 505

def total_count
  @total_count
end

Instance Method Details

#attributesObject



513
514
515
# File 'lib/chino_ruby.rb', line 513

def attributes
    instance_values
end

#attributes=(hash) ⇒ Object



507
508
509
510
511
# File 'lib/chino_ruby.rb', line 507

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