Method: FbGraph::Targeting#initialize

Defined in:
lib/fb_graph/targeting.rb

#initialize(attributes = {}) ⇒ Targeting

Returns a new instance of Targeting.



7
8
9
10
11
12
# File 'lib/fb_graph/targeting.rb', line 7

def initialize(attributes = {})
  @country = attributes[:country]
  @city    = attributes[:city]
  @region  = attributes[:region]
  @locale  = attributes[:locale]
end