Sha256: 11a3088552403aef3d54f48a70bae9a9771071377a27574be9f93021e087bc90

Contents?: true

Size: 409 Bytes

Versions: 83

Compression:

Stored size: 409 Bytes

Contents

module RubyPitaya

  class PostmanSpecHelper

    def initialize
      @postman_mock = nil
    end

    def bind_session(session)
      response = @postman_mock&.bind_session(session)
      response ||= {}
      response
    end

    def push_to_user(uid, message_route, payload)
      response = @postman_mock&.push_to_user(uid, message_route, payload)
      response ||= {}
      response
    end
  end
end

Version data entries

83 entries across 79 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.19.5 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.19.4 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.19.3 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.19.2 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.19.1 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.19.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.18.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.17.2 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.17.1 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.17.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.16.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.15.3 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.15.2 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.15.1 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.15.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.14.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.13.1 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.13.0 ./lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/spec-helpers/postman_spec_helper.rb