Module: Egree::ApiMappers::FormFieldMapper

Defined in:
lib/egree/api_mappers/form_field_mapper.rb

Class Method Summary collapse

Class Method Details

.to_api(form_field) ⇒ Object



4
5
6
7
8
9
# File 'lib/egree/api_mappers/form_field_mapper.rb', line 4

def self.to_api form_field
  {
    "Name" => form_field.name,
    "Value" => form_field.value
  }
end