Class: PinterestSdkClient::MatchType
- Inherits:
-
Object
- Object
- PinterestSdkClient::MatchType
- Defined in:
- lib/pinterest_sdk/models/match_type.rb
Constant Summary collapse
- BROAD =
"BROAD".freeze
- PHRASE =
"PHRASE".freeze
- EXACT =
"EXACT".freeze
- EXACT_NEGATIVE =
"EXACT_NEGATIVE".freeze
- PHRASE_NEGATIVE =
"PHRASE_NEGATIVE".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
24 25 26 |
# File 'lib/pinterest_sdk/models/match_type.rb', line 24 def self.all_vars @all_vars ||= [BROAD, PHRASE, EXACT, EXACT_NEGATIVE, PHRASE_NEGATIVE].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
31 32 33 |
# File 'lib/pinterest_sdk/models/match_type.rb', line 31 def self.build_from_hash(value) new.build_from_hash(value) end |