Class: FbGraph::Action
- Inherits:
-
Object
- Object
- FbGraph::Action
- Includes:
- Comparison
- Defined in:
- lib/fb_graph/action.rb
Instance Attribute Summary collapse
-
#link ⇒ Object
Returns the value of attribute link.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attriutes = {}) ⇒ Action
constructor
A new instance of Action.
Methods included from Comparison
Constructor Details
#initialize(attriutes = {}) ⇒ Action
Returns a new instance of Action.
7 8 9 10 |
# File 'lib/fb_graph/action.rb', line 7 def initialize(attriutes = {}) @name = attriutes[:name] @link = attriutes[:link] end |
Instance Attribute Details
#link ⇒ Object
Returns the value of attribute link.
5 6 7 |
# File 'lib/fb_graph/action.rb', line 5 def link @link end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/fb_graph/action.rb', line 5 def name @name end |