Skip to content

Commit 4c5c547

Browse files
committed
Add Todo and demo
1 parent 3e5a7a4 commit 4c5c547

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

TODO.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Improve Interface for #create_update to not need :body in args
2+
Add error if message is obviously above 140 char
3+
- Extra feature to shorten web links to length used by t.co

bin/demo-buffer

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
require 'buff' # Gem require
2+
require 'pry' # Pry for exploring and demo
3+
4+
client = Buff::Client.new(Buff::ACCESS_TOKEN) # Setup a client instance
5+
id = client.profiles[2].id # Grab a profile id
6+
updates = client.updates_by_profile_id(id, status: :sent) # Gather a set of updates
7+
binding.pry # Enter pry demo, let's do it.

0 commit comments

Comments
 (0)