Class: TreasureData::AccessControl

Inherits:
Model
  • Object
show all
Defined in:
lib/td/client/model.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#client

Instance Method Summary collapse

Constructor Details

#initialize(client, subject, action, scope, grant_option) ⇒ AccessControl

Returns a new instance of AccessControl.



487
488
489
490
491
492
493
# File 'lib/td/client/model.rb', line 487

def initialize(client, subject, action, scope, grant_option)
  super(client)
  @subject = subject
  @action = action
  @scope = scope
  @grant_option = grant_option
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



495
496
497
# File 'lib/td/client/model.rb', line 495

def action
  @action
end

#grant_optionObject (readonly)

Returns the value of attribute grant_option.



495
496
497
# File 'lib/td/client/model.rb', line 495

def grant_option
  @grant_option
end

#scopeObject (readonly)

Returns the value of attribute scope.



495
496
497
# File 'lib/td/client/model.rb', line 495

def scope
  @scope
end

#subjectObject (readonly)

Returns the value of attribute subject.



495
496
497
# File 'lib/td/client/model.rb', line 495

def subject
  @subject
end