class MessengerPlatform::Attachment

Constants

VALID_TYPES

Attributes

type[R]
url[R]

Public Class Methods

new(hash) click to toggle source
# File lib/messenger_platform/attachment.rb, line 7
def initialize(hash)
  @url = hash[:url]
  @type = hash[:type]
end