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.
813 814 815 816 817 818 819 |
# File 'lib/td/client/model.rb', line 813 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)
825 |
# File 'lib/td/client/model.rb', line 825 attr_reader :subject, :action, :scope, :grant_option |
#grant_option ⇒ Object (readonly)
Returns the value of attribute grant_option.
825 |
# File 'lib/td/client/model.rb', line 825 attr_reader :subject, :action, :scope, :grant_option |
#scope ⇒ Object (readonly)
825 |
# File 'lib/td/client/model.rb', line 825 attr_reader :subject, :action, :scope, :grant_option |
#subject ⇒ Object (readonly)
825 826 827 |
# File 'lib/td/client/model.rb', line 825 def subject @subject end |