Class: TreasureData::AccessControl
- Defined in:
- lib/td/client/model.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#grant_option ⇒ Object
readonly
Returns the value of attribute grant_option.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(client, subject, action, scope, grant_option) ⇒ AccessControl
constructor
A new instance of AccessControl.
Constructor Details
#initialize(client, subject, action, scope, grant_option) ⇒ AccessControl
Returns a new instance of AccessControl.
523 524 525 526 527 528 529 |
# File 'lib/td/client/model.rb', line 523 def initialize(client, subject, action, scope, grant_option) super(client) @subject = subject @action = action @scope = scope @grant_option = grant_option end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
531 532 533 |
# File 'lib/td/client/model.rb', line 531 def action @action end |
#grant_option ⇒ Object (readonly)
Returns the value of attribute grant_option.
531 532 533 |
# File 'lib/td/client/model.rb', line 531 def grant_option @grant_option end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
531 532 533 |
# File 'lib/td/client/model.rb', line 531 def scope @scope end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
531 532 533 |
# File 'lib/td/client/model.rb', line 531 def subject @subject end |