class Aptible::Resource::Adapter
Public Class Methods
get_data_type_from_object(object)
click to toggle source
# File lib/aptible/resource/adapter.rb, line 5 def get_data_type_from_object(object) return nil unless object return nil unless (type = object['_type']) if type.respond_to?(:camelize) type.camelize else type[0].upcase + type[1..-1] end end