Exception: Expo::Push::PushTokenInvalid
- Defined in:
- lib/push/client.rb
Overview
rubocop:disable Style/Documentation
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token:) ⇒ PushTokenInvalid
constructor
A new instance of PushTokenInvalid.
Methods inherited from Error
Constructor Details
#initialize(token:) ⇒ PushTokenInvalid
Returns a new instance of PushTokenInvalid.
112 113 114 115 116 |
# File 'lib/push/client.rb', line 112 def initialize(token:) self.token = token super "Expected a valid Expo Push Token, actual: #{token}" end |
Instance Attribute Details
#token ⇒ Object
Returns the value of attribute token.
110 111 112 |
# File 'lib/push/client.rb', line 110 def token @token end |