Class: Conductor::Http::Models::Permission
- Defined in:
- lib/conductor/http/models/permission.rb
Overview
Permission model - represents a permission entry
Constant Summary collapse
- SWAGGER_TYPES =
{ name: 'String' }.freeze
- ATTRIBUTE_MAP =
{ name: :name }.freeze
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Permission
constructor
A new instance of Permission.
Methods inherited from BaseModel
attribute_map, deserialize_model, deserialize_value, find_model_class, from_hash, from_json, parse_datetime, swagger_types, #to_h, #to_json
Constructor Details
#initialize(params = {}) ⇒ Permission
Returns a new instance of Permission.
18 19 20 |
# File 'lib/conductor/http/models/permission.rb', line 18 def initialize(params = {}) @name = params[:name] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/conductor/http/models/permission.rb', line 16 def name @name end |