Permalink
Browse files

Merge branch 'master' of github.com:mmangino/mogli

  • Loading branch information...
2 parents c7ac4e1 + 91c726c commit c71b52da90cfc96a910e28eabb5f44d93679f0ab @mmangino mmangino committed Oct 12, 2011
Showing with 11 additions and 2 deletions.
  1. +1 −0 init.rb
  2. +2 −1 lib/mogli.rb
  3. +1 −1 lib/mogli/client.rb
  4. +6 −0 lib/mogli/domain.rb
  5. +1 −0 mogli.gemspec
View
1 init.rb
@@ -1,3 +1,4 @@
require "httparty"
+require "httmultiparty"
require "hashie"
require "mogli"
View
3 lib/mogli.rb
@@ -2,7 +2,7 @@ module Mogli
end
require "httparty"
-
+require "httmultiparty"
require "mogli/authenticator"
require "mogli/model"
@@ -17,6 +17,7 @@ module Mogli
require "mogli/book"
require "mogli/checkin"
require "mogli/comment"
+require "mogli/domain"
require "mogli/education"
require "mogli/event"
require "mogli/group"
View
2 lib/mogli/client.rb
@@ -7,7 +7,7 @@ class Client
attr_reader :default_params
attr_reader :expiration
- include HTTParty
+ include HTTMultiParty
include Mogli::Client::Event
include Mogli::Client::User
View
6 lib/mogli/domain.rb
@@ -0,0 +1,6 @@
+module Mogli
+ class Domain < Model
+ define_properties :id, :name, :type
+ has_association :insights, "Insight"
+ end
+end
View
1 mogli.gemspec
@@ -10,6 +10,7 @@ spec = Gem::Specification.new do |s|
s.email = 'mmangino@elevatedrails.com'
s.homepage = 'http://developers.facebook.com/docs/api'
s.add_dependency 'hashie', '~> 1.1.0'
+ s.add_dependency 'httmultiparty', '>= 0.3.6'
s.add_dependency 'httparty', '>= 0.4.3'
s.add_dependency 'multi_json', '~> 1.0.3'
s.add_development_dependency 'json'

0 comments on commit c71b52d

Please sign in to comment.