Class: ChinoRuby::GetUsersResponse

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

#count ⇒ Object

Returns the value of attribute count.



618
619
620
# File 'lib/chino_ruby/classes.rb', line 618

def count
  @count
end

#exists ⇒ Object

Returns the value of attribute exists.



618
619
620
# File 'lib/chino_ruby/classes.rb', line 618

def exists
  @exists
end

#limit ⇒ Object

Returns the value of attribute limit.



618
619
620
# File 'lib/chino_ruby/classes.rb', line 618

def limit
  @limit
end

#offset ⇒ Object

Returns the value of attribute offset.



618
619
620
# File 'lib/chino_ruby/classes.rb', line 618

def offset
  @offset
end

#total_count ⇒ Object

Returns the value of attribute total_count.



618
619
620
# File 'lib/chino_ruby/classes.rb', line 618

def total_count
  @total_count
end

#users ⇒ Object

Returns the value of attribute users.



618
619
620
# File 'lib/chino_ruby/classes.rb', line 618

def users
  @users
end

Instance Method Details

#attributes ⇒ Object



626
627
628
# File 'lib/chino_ruby/classes.rb', line 626

def attributes
  instance_values
end

#attributes=(hash) ⇒ Object



620
621
622
623
624
# File 'lib/chino_ruby/classes.rb', line 620

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