Sha256: 9badc5f958d9857bfc549fa8a0a16c2476956ed025b60d1fd1118275e86c1801
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'date' require 'time' module PinterestSdkClient class AdsAnalyticsTargetingType KEYWORD = "KEYWORD".freeze APPTYPE = "APPTYPE".freeze GENDER = "GENDER".freeze LOCATION = "LOCATION".freeze PLACEMENT = "PLACEMENT".freeze COUNTRY = "COUNTRY".freeze TARGETED_INTEREST = "TARGETED_INTEREST".freeze PINNER_INTEREST = "PINNER_INTEREST".freeze AUDIENCE_INCLUDE = "AUDIENCE_INCLUDE".freeze AUDIENCE_EXCLUDE = "AUDIENCE_EXCLUDE".freeze GEO = "GEO".freeze AGE_BUCKET = "AGE_BUCKET".freeze REGION = "REGION".freeze # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def self.build_from_hash(value) new.build_from_hash(value) end # Builds the enum from string # @param [String] The enum value in the form of the string # @return [String] The enum value def build_from_hash(value) constantValues = AdsAnalyticsTargetingType.constants.select { |c| AdsAnalyticsTargetingType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AdsAnalyticsTargetingType" if constantValues.empty? value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pinterest_sdk-1.1.0 | lib/pinterest_sdk/models/ads_analytics_targeting_type.rb |