Sha256: ebd891c5dd3b825b0c6aad2dd6eaeef0660e5882d0252a2e9848d9866e2ed5f2
Contents?: true
Size: 490 Bytes
Versions: 73
Compression:
Stored size: 490 Bytes
Contents
module FbGraph class Targeting include Comparison attr_accessor :country, :city, :region, :locale def initialize(attriutes = {}) @country = attriutes[:country] @city = attriutes[:city] @region = attriutes[:region] @locale = attriutes[:locale] end def to_hash(options = {}) { :country => self.country, :city => self.city, :region => self.region, :locale => self.locale } end end end
Version data entries
73 entries across 73 versions & 1 rubygems