Class: GetPermissionsResponse

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.



1219
1220
1221
# File 'lib/chino_ruby.rb', line 1219

def count
  @count
end

#limitObject

Returns the value of attribute limit.



1219
1220
1221
# File 'lib/chino_ruby.rb', line 1219

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



1219
1220
1221
# File 'lib/chino_ruby.rb', line 1219

def offset
  @offset
end

#permissionsObject

Returns the value of attribute permissions.



1219
1220
1221
# File 'lib/chino_ruby.rb', line 1219

def permissions
  @permissions
end

#total_countObject

Returns the value of attribute total_count.



1219
1220
1221
# File 'lib/chino_ruby.rb', line 1219

def total_count
  @total_count
end

Instance Method Details

#attributesObject



1227
1228
1229
# File 'lib/chino_ruby.rb', line 1227

def attributes
    instance_values
end

#attributes=(hash) ⇒ Object



1221
1222
1223
1224
1225
# File 'lib/chino_ruby.rb', line 1221

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