Class: Social::Network::Ok
- Includes:
- Config::Ok
- Defined in:
- lib/social/network/ok.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params = nil) ⇒ Ok
constructor
A new instance of Ok.
- #rate ⇒ Object
Methods included from Config::Ok
Methods inherited from Base
#method_missing, #param, #param!, #params, #params!
Constructor Details
#initialize(params = nil) ⇒ Ok
Returns a new instance of Ok.
9 10 11 |
# File 'lib/social/network/ok.rb', line 9 def initialize(params = nil) super('ok', [ :user, :notification ], params) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Social::Network::Base
Instance Method Details
#rate ⇒ Object
5 6 7 |
# File 'lib/social/network/ok.rb', line 5 def rate 1 end |