Sha256: e59d6f35d3a215f8122ec73a5ea45e0d201a98aee01a79de372cb67e260613ab

Contents?: true

Size: 835 Bytes

Versions: 1

Compression:

Stored size: 835 Bytes

Contents

require 'washbullet/pushable'
require 'washbullet/pushable/file'
require 'washbullet/pushable/link'
require 'washbullet/pushable/note'

module Washbullet
  module API
    module Pushes
      def push_note(receiver: nil, identifier: nil, params: {})
        Washbullet::Pushable::Note.push(self, receiver, identifier, params)
      end

      def push_link(receiver: nil, identifier: nil, params: {})
        Washbullet::Pushable::Link.push(self, receiver, identifier, params)
      end

      def push_file(receiver: nil, identifier: nil, params: {})
        Washbullet::Pushable::File.push(self, receiver, identifier, params)
      end

      def get_pushes(modified_after = nil, cursor = nil)
        raise NotImplementedError
      end

      def delete_push(push_iden)
        raise NotImplementedError
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
washbullet-0.4.0 lib/washbullet/api/pushes.rb