Sha256: 1efe863f2ad7ec13094ff0963f1f9fee1fd2554e367abbaf737a3d65b215e7b3

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

Stored size: 241 Bytes

Contents

module Botfly
  class SubscriptionRequestResponder < Responder    
    extend Forwardable    
    def accept
      @bot.roster.accept_subscription(@from)
    end
    def decline
      @bot.roster.decline_subscription(@from)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
botfly-0.3.6 lib/botfly/responder/subscription_request_responder.rb
botfly-0.3.5 lib/botfly/responder/subscription_request_responder.rb
botfly-0.3.4 lib/botfly/responder/subscription_request_responder.rb