Class: Octoks::Event
- Inherits:
- 
      Object
      
        - Object
- Octoks::Event
 
- Defined in:
- lib/octoks/event.rb
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute name. 
- 
  
    
      #payload  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute payload. 
Instance Method Summary collapse
- 
  
    
      #initialize(name, payload)  ⇒ Event 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Event. 
Constructor Details
#initialize(name, payload) ⇒ Event
Returns a new instance of Event.
| 5 6 7 8 | # File 'lib/octoks/event.rb', line 5 def initialize(name, payload) @name = name @payload = payload end | 
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
| 3 4 5 | # File 'lib/octoks/event.rb', line 3 def name @name end | 
#payload ⇒ Object
Returns the value of attribute payload.
| 3 4 5 | # File 'lib/octoks/event.rb', line 3 def payload @payload end |