Class: Reviewed::Hero

Inherits:
Base
  • Object
show all
Defined in:
lib/reviewed/hero.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #client

Instance Method Summary collapse

Methods inherited from Base

association_name, #created_at, #initialize, #method_missing, #respond_to?, #to_param, to_path, #to_path, #updated_at

Methods included from Embeddable

embedded_name, included, #objectify, #objectify_has_many, #objectify_has_one

Constructor Details

This class inherits a constructor from Reviewed::Base

Dynamic Method Handling

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

Instance Method Details

#to_sObject



8
9
10
# File 'lib/reviewed/hero.rb', line 8

def to_s
  "\#<#{self.class.name}:#{self.object_id}>"
end