Class: Playapi::Voting

Inherits:
Feature show all
Defined in:
lib/playapi/voting.rb

Instance Attribute Summary collapse

Attributes inherited from Feature

#attrs, #campaign_id, #default_points, #id, #live, #name

Method Summary

Methods inherited from Feature

#campaign, create, #destroy, destroy, find_by_facet, get, #interactions, list, #push, update

Methods included from Utils

hi

Methods inherited from Identity

#==, fetch, #id, #initialize, store

Methods inherited from Base

#[], attr_reader, #attrs, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update

Constructor Details

This class inherits a constructor from Playapi::Identity

Instance Attribute Details

#target_classObject (readonly)

Returns the value of attribute target_class.



3
4
5
# File 'lib/playapi/voting.rb', line 3

def target_class
  @target_class
end