Class: Facebokr::Shell::Sandbox
- Inherits:
- BasicObject
- Defined in:
- lib/facebokr/shell.rb
Instance Method Summary collapse
- #access_token ⇒ Object (also: #token)
- #app_notification(*args) ⇒ Object (also: #an)
- #app_request(*args) ⇒ Object (also: #ar)
-
#initialize(app) ⇒ Sandbox
constructor
A new instance of Sandbox.
- #test_user(options = {}) ⇒ Object (also: #tu)
Constructor Details
#initialize(app) ⇒ Sandbox
7 8 9 |
# File 'lib/facebokr/shell.rb', line 7 def initialize(app) @app = app end |
Instance Method Details
#access_token ⇒ Object Also known as: token
11 12 13 |
# File 'lib/facebokr/shell.rb', line 11 def access_token @app.access_token end |
#app_notification(*args) ⇒ Object Also known as: an
26 27 28 |
# File 'lib/facebokr/shell.rb', line 26 def app_notification(*args) @app.create_app_notification(*args) end |
#app_request(*args) ⇒ Object Also known as: ar
21 22 23 |
# File 'lib/facebokr/shell.rb', line 21 def app_request(*args) @app.create_app_request(*args) end |
#test_user(options = {}) ⇒ Object Also known as: tu
16 17 18 |
# File 'lib/facebokr/shell.rb', line 16 def test_user( = {}) @app.create_test_user() end |