Class: ChinoRuby::GetRepositoriesResponse
- Inherits:
-
Object
- Object
- ChinoRuby::GetRepositoriesResponse
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#repositories ⇒ Object
Returns the value of attribute repositories.
-
#total_count ⇒ Object
Returns the value of attribute total_count.
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
436 437 438 |
# File 'lib/chino_ruby/classes.rb', line 436 def count @count end |
#limit ⇒ Object
Returns the value of attribute limit.
436 437 438 |
# File 'lib/chino_ruby/classes.rb', line 436 def limit @limit end |
#offset ⇒ Object
Returns the value of attribute offset.
436 437 438 |
# File 'lib/chino_ruby/classes.rb', line 436 def offset @offset end |
#repositories ⇒ Object
Returns the value of attribute repositories.
436 437 438 |
# File 'lib/chino_ruby/classes.rb', line 436 def repositories @repositories end |
#total_count ⇒ Object
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
#attributes ⇒ Object
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 |