Class: Iterable::MessageTypes
- Inherits:
-
ApiResource
- Object
- ApiResource
- Iterable::MessageTypes
- Defined in:
- lib/iterable/message_types.rb
Overview
Interact with /messageTypes API endpoints
Constant Summary collapse
- MEDIUMS =
Message mediums
[ EMAIL_MEDIUM = 'Email'.freeze, PUSH_MEDIUM = 'Push'.freeze, IN_APP_MEDIUM = 'InApp'.freeze, SMS_MEDIUM = 'SMS'.freeze ].freeze
Instance Attribute Summary
Attributes inherited from ApiResource
Instance Method Summary collapse
-
#all ⇒ Iterable::Response
Get all message_types.
Methods inherited from ApiResource
#default_config, default_config, #initialize
Constructor Details
This class inherits a constructor from Iterable::ApiResource
Instance Method Details
#all ⇒ Iterable::Response
Get all message_types
27 28 29 |
# File 'lib/iterable/message_types.rb', line 27 def all Iterable.request(conf, '/messageTypes').get end |