Module: Zuck::KoalaMethods
- Included in:
- Zuck, FbObject::RawFbObject
- Defined in:
- lib/zuck/koala/koala_methods.rb
Instance Method Summary collapse
- #graph ⇒ Object
-
#graph=(g) ⇒ Object
You can include this to any object that should have a
graph
getter and setter that checks for Koala::Facebook::API instances with an access token.
Instance Method Details
#graph ⇒ Object
13 14 15 |
# File 'lib/zuck/koala/koala_methods.rb', line 13 def graph @graph end |
#graph=(g) ⇒ Object
You can include this to any object that should have a graph
getter and setter that checks for Koala::Facebook::API
instances with an access token.
8 9 10 11 |
# File 'lib/zuck/koala/koala_methods.rb', line 8 def graph=(g) validate_graph(g) @graph = g end |