Class: Telegraph
Instance Method Summary collapse
- #createAccount(body) ⇒ Object
- #createPage(body) ⇒ Object
- #editAccountInfo(body) ⇒ Object
- #editPage(body) ⇒ Object
- #getAccountInfo(body) ⇒ Object
- #getPage(body) ⇒ Object
- #getPageList(body) ⇒ Object
- #getViews(body) ⇒ Object
- #revokeAccessToken(access_token) ⇒ Object
Methods included from Request
Instance Method Details
#createAccount(body) ⇒ Object
5 6 7 8 |
# File 'lib/telegraph-ruby.rb', line 5 def createAccount(body) method = 'createAccount' post(method, body) end |
#createPage(body) ⇒ Object
10 11 12 13 |
# File 'lib/telegraph-ruby.rb', line 10 def createPage(body) method = 'createPage' post(method, body) end |
#editAccountInfo(body) ⇒ Object
15 16 17 18 |
# File 'lib/telegraph-ruby.rb', line 15 def editAccountInfo(body) method = 'editAccountInfo' post(method, body) end |
#editPage(body) ⇒ Object
20 21 22 23 |
# File 'lib/telegraph-ruby.rb', line 20 def editPage(body) method = 'editPage' post(method, body) end |
#getAccountInfo(body) ⇒ Object
25 26 27 28 |
# File 'lib/telegraph-ruby.rb', line 25 def getAccountInfo(body) method = 'getAccountInfo' post(method, body) end |
#getPage(body) ⇒ Object
30 31 32 33 |
# File 'lib/telegraph-ruby.rb', line 30 def getPage(body) method = 'getPage' post(method, body) end |
#getPageList(body) ⇒ Object
35 36 37 38 |
# File 'lib/telegraph-ruby.rb', line 35 def getPageList(body) method = 'getPageList' post(method, body) end |
#getViews(body) ⇒ Object
40 41 42 43 |
# File 'lib/telegraph-ruby.rb', line 40 def getViews(body) method = 'getViews' post(method, body) end |
#revokeAccessToken(access_token) ⇒ Object
45 46 47 48 |
# File 'lib/telegraph-ruby.rb', line 45 def revokeAccessToken(access_token) method = 'revokeAccessToken' post(method, access_token) end |