Permalink
Browse files

Addition of realtime stubs

  • Loading branch information...
1 parent c70076d commit c78461d9f1ebd53b723ab7427a3ff85c4c3c5504 @shayne shayne committed Feb 17, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −2 lib/instagram/client.rb
  2. +1 −0 lib/instagram/client/realtime.rb
  3. +1 −0 spec/instagram/client/realtme_spec.rb
View
@@ -5,14 +5,15 @@ module Instagram
# @see TODO:doc_url
class Client < API
Dir[File.expand_path('../client/*.rb', __FILE__)].each{|f| require f}
-
+
include Instagram::Client::Utils
-
+
include Instagram::Client::Users
include Instagram::Client::Media
include Instagram::Client::Locations
include Instagram::Client::Tags
include Instagram::Client::Comments
include Instagram::Client::Likes
+ include Instagram::Client::Realtime
end
end
@@ -0,0 +1 @@
+module Instagram class Client # Defines methods related to realtime module Realtime # TODO end endend
@@ -0,0 +1 @@
+require File.expand_path('../../../spec_helper', __FILE__)describe Instagram::Client do Instagram::Configuration::VALID_FORMATS.each do |format| context ".new(:format => '#{format}')" do before do @client = Instagram::Client.new(:format => format, :client_id => 'CID', :access_token => 'AT') end end endend

0 comments on commit c78461d

Please sign in to comment.