Class: TreasureData::AccessControl
- Defined in:
- lib/td/client/model.rb
Instance Attribute Summary collapse
- #action ⇒ Object readonly
-
#grant_option ⇒ Object
readonly
Returns the value of attribute grant_option.
- #scope ⇒ Object readonly
- #subject ⇒ Object readonly
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.
776 777 778 779 780 781 782 |
# File 'lib/td/client/model.rb', line 776 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)
788 |
# File 'lib/td/client/model.rb', line 788 attr_reader :subject, :action, :scope, :grant_option |
#grant_option ⇒ Object (readonly)
Returns the value of attribute grant_option.
788 |
# File 'lib/td/client/model.rb', line 788 attr_reader :subject, :action, :scope, :grant_option |
#scope ⇒ Object (readonly)
788 |
# File 'lib/td/client/model.rb', line 788 attr_reader :subject, :action, :scope, :grant_option |
#subject ⇒ Object (readonly)
788 789 790 |
# File 'lib/td/client/model.rb', line 788 def subject @subject end |