class Iterable::MessageTypes
Interact with /messageTypes API endpoints
@example Creating message_types endpoint object
# With default config message_types = Iterable::MessageTypes.new message_types.all # With custom config conf = Iterable::Config.new(token: 'new-token') message_types = Iterable::MessageTypes.new(config)
Constants
- MEDIUMS
Message mediums
Public Instance Methods
all()
click to toggle source
Get all message_types
@return [Iterable::Response] A response object
# File lib/iterable/message_types.rb, line 27 def all Iterable.request(conf, '/messageTypes').get end