Skip to content

Commit

Permalink
Update with verbose docs
Browse files Browse the repository at this point in the history
  • Loading branch information
treble37 committed Jan 25, 2017
1 parent e3d8893 commit cb6bd73
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/funky/page.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
module Funky
class Page < FacebookGraphRootNode
# For further detailed documentation, see
# https://developers.facebook.com/docs/graph-api/reference/page/

# @return [String] the name of the Facebook Page.
# @return [String] The name of the Facebook Page. For example, for
# www.facebook.com/platform the name is 'Facebook For Developers'.
# @see https://developers.facebook.com/docs/graph-api/reference/page/
def username
data[:username]
end

# @return [String] the username of the Facebook Page.
# @return [String] The alias of the Facebook Page. For example, for
# www.facebook.com/platform the username is 'platform'.
# @see https://developers.facebook.com/docs/graph-api/reference/page/
def name
data[:name]
end
Expand Down

0 comments on commit cb6bd73

Please sign in to comment.