Class: Croudia::Trend

Inherits:
Base
  • Object
show all
Defined in:
lib/croudia/trend.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#[], attr_object_reader, attr_reader, #attrs, #initialize, #inspect

Constructor Details

This class inherits a constructor from Croudia::Base

Instance Attribute Details

#nameObject (readonly) Also known as: to_s

Returns the value of attribute name.



5
6
7
# File 'lib/croudia/trend.rb', line 5

def name
  @name
end

Returns the value of attribute promoted_content.



5
6
7
# File 'lib/croudia/trend.rb', line 5

def promoted_content
  @promoted_content
end

#queryObject (readonly)

Returns the value of attribute query.



5
6
7
# File 'lib/croudia/trend.rb', line 5

def query
  @query
end