Class: Cufinder::Signal
- Inherits:
-
Object
- Object
- Cufinder::Signal
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
Signal model
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#name ⇒ Object
Returns the value of attribute name.
-
#time_frame ⇒ Object
Returns the value of attribute time_frame.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ Signal
constructor
A new instance of Signal.
Constructor Details
#initialize(data = {}) ⇒ Signal
Returns a new instance of Signal.
751 752 753 754 755 |
# File 'lib/cufinder_ruby/types.rb', line 751 def initialize(data = {}) @name = data["name"] @time_frame = data["time_frame"] @bucket = data["bucket"] end |
Instance Attribute Details
#bucket ⇒ Object
Returns the value of attribute bucket.
749 750 751 |
# File 'lib/cufinder_ruby/types.rb', line 749 def bucket @bucket end |
#name ⇒ Object
Returns the value of attribute name.
749 750 751 |
# File 'lib/cufinder_ruby/types.rb', line 749 def name @name end |
#time_frame ⇒ Object
Returns the value of attribute time_frame.
749 750 751 |
# File 'lib/cufinder_ruby/types.rb', line 749 def time_frame @time_frame end |