Class: Cufinder::Signal

Inherits:
Object
  • Object
show all
Defined in:
lib/cufinder_ruby/types.rb

Overview

Signal model

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bucketObject

Returns the value of attribute bucket.



749
750
751
# File 'lib/cufinder_ruby/types.rb', line 749

def bucket
  @bucket
end

#nameObject

Returns the value of attribute name.



749
750
751
# File 'lib/cufinder_ruby/types.rb', line 749

def name
  @name
end

#time_frameObject

Returns the value of attribute time_frame.



749
750
751
# File 'lib/cufinder_ruby/types.rb', line 749

def time_frame
  @time_frame
end