Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit c71b52da90cfc96a910e28eabb5f44d93679f0ab 2 parents c7ac4e1 + 91c726c
Mike Mangino mmangino authored
1  init.rb
... ... @@ -1,3 +1,4 @@
1 1 require "httparty"
  2 +require "httmultiparty"
2 3 require "hashie"
3 4 require "mogli"
3  lib/mogli.rb
@@ -2,7 +2,7 @@ module Mogli
2 2 end
3 3
4 4 require "httparty"
5   -
  5 +require "httmultiparty"
6 6
7 7 require "mogli/authenticator"
8 8 require "mogli/model"
@@ -17,6 +17,7 @@ module Mogli
17 17 require "mogli/book"
18 18 require "mogli/checkin"
19 19 require "mogli/comment"
  20 +require "mogli/domain"
20 21 require "mogli/education"
21 22 require "mogli/event"
22 23 require "mogli/group"
2  lib/mogli/client.rb
@@ -7,7 +7,7 @@ class Client
7 7 attr_reader :default_params
8 8 attr_reader :expiration
9 9
10   - include HTTParty
  10 + include HTTMultiParty
11 11 include Mogli::Client::Event
12 12 include Mogli::Client::User
13 13
6 lib/mogli/domain.rb
... ... @@ -0,0 +1,6 @@
  1 +module Mogli
  2 + class Domain < Model
  3 + define_properties :id, :name, :type
  4 + has_association :insights, "Insight"
  5 + end
  6 +end
1  mogli.gemspec
@@ -10,6 +10,7 @@ spec = Gem::Specification.new do |s|
10 10 s.email = 'mmangino@elevatedrails.com'
11 11 s.homepage = 'http://developers.facebook.com/docs/api'
12 12 s.add_dependency 'hashie', '~> 1.1.0'
  13 + s.add_dependency 'httmultiparty', '>= 0.3.6'
13 14 s.add_dependency 'httparty', '>= 0.4.3'
14 15 s.add_dependency 'multi_json', '~> 1.0.3'
15 16 s.add_development_dependency 'json'

0 comments on commit c71b52d

Please sign in to comment.
Something went wrong with that request. Please try again.