Class: RightAws::Sns::Member

Inherits:
Object
  • Object
show all
Defined in:
lib/sns/right_sns.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sns_interfaceObject

Returns the value of attribute sns_interface.



196
197
198
# File 'lib/sns/right_sns.rb', line 196

def sns_interface
  @sns_interface
end

#tokenObject

Returns the value of attribute token.



196
197
198
# File 'lib/sns/right_sns.rb', line 196

def token
  @token
end

#topic_arnObject

Returns the value of attribute topic_arn.



196
197
198
# File 'lib/sns/right_sns.rb', line 196

def topic_arn
  @topic_arn
end

Instance Method Details

#confirm(authenticate_on_unsubscribe = false) ⇒ Object



198
199
200
# File 'lib/sns/right_sns.rb', line 198

def confirm(authenticate_on_unsubscribe = false)
  sns_interface.confirm_subscription(topic_arn, token, authenticate_on_unsubscribe)
end