Sha256: 8650c960adc6b7f5a33ac602c8a94a6bade0629d3f0a668e93defefe7185da19

Contents?: true

Size: 711 Bytes

Versions: 1

Compression:

Stored size: 711 Bytes

Contents

require 'pushbullet_ruby/pushable'
require 'pushbullet_ruby/pushable/note'
require 'pushbullet_ruby/pushable/link'
require 'pushbullet_ruby/pushable/file'

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pushbullet_ruby-1.0.1 lib/pushbullet_ruby/api/pushes.rb