Class: Pupil::Stream::User
- Inherits:
-
User
- Object
- Pupil::Scheme
- User
- Pupil::Stream::User
- Defined in:
- lib/pupil/stream/base.rb
Overview
Stream User
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(status, access_token, event = nil) ⇒ User
constructor
A new instance of User.
Methods inherited from User
Methods inherited from Pupil::Scheme
Methods included from Essentials
#get, #guess_parameter, #post, #serialize_parameter
Constructor Details
#initialize(status, access_token, event = nil) ⇒ User
Returns a new instance of User.
130 131 132 133 |
# File 'lib/pupil/stream/base.rb', line 130 def initialize(status, access_token, event=nil) super(status, access_token) @event = :follow end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Pupil::Scheme
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
128 129 130 |
# File 'lib/pupil/stream/base.rb', line 128 def event @event end |