Sha256: 467f74897a4b9d2057ecbcd8b96f3a3f1c458be6fa7f42c5821e4f3f3d6b17bf

Contents?: true

Size: 412 Bytes

Versions: 8

Compression:

Stored size: 412 Bytes

Contents

module Pushbullet
  module Pushable

    def push_note(title, body)
      Push.create_note target_id, title, body
    end

    def push_link(title, url, body)
      Push.create_link target_id, title, url, body
    end

    def push_address(name, address)
      Push.create_address target_id, name, address
    end

    def push_list(title, items)
      Push.create_list target_id, title, items
    end
  end
end

Version data entries

8 entries across 6 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/ruby-pushbullet-0.1.4/lib/pushbullet/pushable.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/ruby-pushbullet-0.1.4/lib/pushbullet/pushable.rb
tdiary-5.0.4 vendor/bundle/gems/ruby-pushbullet-0.1.4/lib/pushbullet/pushable.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/ruby-pushbullet-0.1.4/lib/pushbullet/pushable.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/ruby-pushbullet-0.1.4/lib/pushbullet/pushable.rb
ruby-pushbullet-0.1.4 lib/pushbullet/pushable.rb
ruby-pushbullet-0.1.3 lib/pushbullet/pushable.rb
ruby-pushbullet-0.1.2 lib/pushbullet/pushable.rb