Module: FiveMobilePush
- Extended by:
- FiveMobilePush
- Included in:
- FiveMobilePush
- Defined in:
- lib/five_mobile_push.rb,
lib/five_mobile_push/tag.rb,
lib/five_mobile_push/client.rb,
lib/five_mobile_push/device.rb,
lib/five_mobile_push/message.rb,
lib/five_mobile_push/payload.rb,
lib/five_mobile_push/version.rb,
lib/five_mobile_push/notifier.rb,
lib/five_mobile_push/platform.rb
Defined Under Namespace
Classes: Client, Device, GeneralError, InvalidPlatformError, InvalidToken, Notifier, Platform, ServerError, Tag, UnauthorizedError
Constant Summary collapse
- DEFAULT_ID_TYPE =
'native'
- VERSION =
"0.4.7"
Instance Attribute Summary collapse
- #adapter ⇒ Object
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#application_uid ⇒ Object
Returns the value of attribute application_uid.
Instance Method Summary collapse
Instance Attribute Details
#adapter ⇒ Object
38 39 40 |
# File 'lib/five_mobile_push.rb', line 38 def adapter @adapter || Faraday.default_adapter end |
#api_token ⇒ Object
Returns the value of attribute api_token.
22 23 24 |
# File 'lib/five_mobile_push.rb', line 22 def api_token @api_token end |
#application_uid ⇒ Object
Returns the value of attribute application_uid.
22 23 24 |
# File 'lib/five_mobile_push.rb', line 22 def application_uid @application_uid end |
Instance Method Details
#configure {|config| ... } ⇒ Object
34 35 36 |
# File 'lib/five_mobile_push.rb', line 34 def configure yield self end |