-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add app_request and fix the capitalization of fql names
- Loading branch information
Showing
8 changed files
with
27 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
|
||
*) move all model related tests to model_spec.rb | ||
*) handle picture attributes | ||
*) allow embedding into other classes, example: | ||
|
||
class User < ActiveRecord::Base | ||
acts_as_ogli :id=>:facebook_id,:class=>Ogli::User | ||
end | ||
|
||
allows user.facebook.activities | ||
or user.facebook_unpopulated.activities | ||
|
||
2) Start working on update handling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module Mogli | ||
class AppRequest < Model | ||
|
||
define_properties :id, :data, :message, :created_time | ||
hash_populating_accessor :application, "Application" | ||
hash_populating_accessor :from, "Profile" | ||
hash_populating_accessor :to, "Profile" | ||
|
||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module Mogli | ||
class Insight < Model | ||
define_properties :id, :name | ||
|
||
define_properties :id, :name, :period | ||
hash_populating_accessor :values, "InsightValue" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Mogli | ||
class InsightValue < Model | ||
define_properties :value, :end_time | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters