Sha256: b77d831d6b459f361f5d316b8aebcbc8b1cfe637383f1356cdd112ced1e73ece

Contents?: true

Size: 643 Bytes

Versions: 4

Compression:

Stored size: 643 Bytes

Contents

# frozen_string_literal: true

module TwilioBase
  module Fake
    module Notify
      class V1
        cattr_accessor :all_notifications

        self.all_notifications = []

        def initialize(_notify_service_sid = nil); end

        def notifications
          self
        end

        def create(attributes)
          all_notifications << attributes

          TwilioBase::Fake::Notify::Notification.new
        end

        def bindings(sid = nil)
          TwilioBase::Fake::Notify::Binding.new(sid)
        end

        def users(sid = nil)
          TwilioBase::Fake::Notify::User.new(sid)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio_base-1.11.1101 spec/support/twilio_base/fake/notify/v1.rb
twilio_base-1.11.11 spec/support/twilio_base/fake/notify/v1.rb
twilio_base-1.9.0 spec/support/twilio_base/fake/notify/v1.rb
twilio_base-1.8.0 spec/support/twilio_base/fake/notify/v1.rb