class Responsys::Api::Object::FieldType
Constants
- FIELD_TYPES
Attributes
field_type_string[RW]
Public Class Methods
new(field_type)
click to toggle source
# File lib/responsys/api/object/field_type.rb, line 9 def initialize(field_type) if FIELD_TYPES.include? field_type @field_type_string = field_type else raise ParameterException, Responsys::Helper.get_message("api.object.field_type.incorrect_field_type") end end
Public Instance Methods
to_api()
click to toggle source
# File lib/responsys/api/object/field_type.rb, line 17 def to_api @field_type_string end