Class: ChinoRuby::GetPermissionsResponse

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.



1163
1164
1165
# File 'lib/chino_ruby/classes.rb', line 1163

def count
  @count
end

#limitObject

Returns the value of attribute limit.



1163
1164
1165
# File 'lib/chino_ruby/classes.rb', line 1163

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



1163
1164
1165
# File 'lib/chino_ruby/classes.rb', line 1163

def offset
  @offset
end

#permissionsObject

Returns the value of attribute permissions.



1163
1164
1165
# File 'lib/chino_ruby/classes.rb', line 1163

def permissions
  @permissions
end

#total_countObject

Returns the value of attribute total_count.



1163
1164
1165
# File 'lib/chino_ruby/classes.rb', line 1163

def total_count
  @total_count
end

Instance Method Details

#attributesObject



1171
1172
1173
# File 'lib/chino_ruby/classes.rb', line 1171

def attributes
  instance_values
end

#attributes=(hash) ⇒ Object



1165
1166
1167
1168
1169
# File 'lib/chino_ruby/classes.rb', line 1165

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