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