Class: GetUsersResponse

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.



687
688
689
# File 'lib/chino_ruby.rb', line 687

def count
  @count
end

#limitObject

Returns the value of attribute limit.



687
688
689
# File 'lib/chino_ruby.rb', line 687

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



687
688
689
# File 'lib/chino_ruby.rb', line 687

def offset
  @offset
end

#total_countObject

Returns the value of attribute total_count.



687
688
689
# File 'lib/chino_ruby.rb', line 687

def total_count
  @total_count
end

#usersObject

Returns the value of attribute users.



687
688
689
# File 'lib/chino_ruby.rb', line 687

def users
  @users
end

Instance Method Details

#attributesObject



695
696
697
# File 'lib/chino_ruby.rb', line 695

def attributes
    instance_values
end

#attributes=(hash) ⇒ Object



689
690
691
692
693
# File 'lib/chino_ruby.rb', line 689

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