Class: ACTV::Suggestion

Inherits:
Base
  • Object
show all
Defined in:
lib/actv/suggestion.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, #delete, from_response, #initialize, #memoize, #method_missing, object_attr_reader, #respond_to?, #to_hash, #update, uri_attr_reader

Constructor Details

This class inherits a constructor from ACTV::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ACTV::Base

Instance Attribute Details

#lengthObject (readonly)

Returns the value of attribute length.



5
6
7
# File 'lib/actv/suggestion.rb', line 5

def length
  @length
end

#offsetObject (readonly)

Returns the value of attribute offset.



5
6
7
# File 'lib/actv/suggestion.rb', line 5

def offset
  @offset
end

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/actv/suggestion.rb', line 5

def options
  @options
end

#textObject (readonly)

Returns the value of attribute text.



5
6
7
# File 'lib/actv/suggestion.rb', line 5

def text
  @text
end