Class: PinterestSdkClient::OsFamily
- Inherits:
-
Object
- Object
- PinterestSdkClient::OsFamily
- Defined in:
- lib/pinterest_sdk/models/os_family.rb
Constant Summary collapse
- IOS =
"ios".freeze
- ANDROID =
"android".freeze
- MACOS =
"macos".freeze
- WINDOWS =
"windows".freeze
- LINUX =
"linux".freeze
- BSD =
"bsd".freeze
- OTHER =
"other".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
26 27 28 |
# File 'lib/pinterest_sdk/models/os_family.rb', line 26 def self.all_vars @all_vars ||= [IOS, ANDROID, MACOS, WINDOWS, LINUX, BSD, OTHER].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
33 34 35 |
# File 'lib/pinterest_sdk/models/os_family.rb', line 33 def self.build_from_hash(value) new.build_from_hash(value) end |