Sha256: 2f8e5647b36f9e6777bd9d7b7b534ca882ab088cb741e852ca3a358c39687b36

Contents?: true

Size: 233 Bytes

Versions: 5

Compression:

Stored size: 233 Bytes

Contents

module MessengerClient
  class GetStarted
    def initialize(postback="get_started")
      @postback = postback
    end

    def to_json
      {
        get_started: {
          payload: @postback
        }
      }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
messenger_client-0.2.3 lib/messenger_client/get_started.rb
messenger_client-0.2.2 lib/messenger_client/get_started.rb
messenger_client-0.2.1 lib/messenger_client/get_started.rb
messenger_client-0.2.0 lib/messenger_client/get_started.rb
messenger_client-0.1.9 lib/messenger_client/get_started.rb