Class: Tacokit::Transform

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/tacokit/transform.rb

Instance Method Summary collapse

Methods included from Utils

#base_path, #blank?, #camel_join, #camel_path, #camelize, #constantize, #deep_transform_keys, #extract_options, #path_join, #present?, #singularize, #underscore

Instance Method Details

#deserialize(body) ⇒ Object


13
14
15
# File 'lib/tacokit/transform.rb', line 13

def deserialize(body)
  deserialize_body(body)
end

#serialize(body) ⇒ Object


9
10
11
# File 'lib/tacokit/transform.rb', line 9

def serialize(body)
  serialize_body(body)
end

#serialize_params(params) ⇒ Object


5
6
7
# File 'lib/tacokit/transform.rb', line 5

def serialize_params(params)
  normalize_request_params(params)
end