Module: Egree::Serializers::CaseSerializer
- Defined in:
- lib/egree/serializers/case_serializer.rb
Class Method Summary collapse
Class Method Details
.serialize(signature_case, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/egree/serializers/case_serializer.rb', line 8 def self.serialize signature_case, = {} signature_case_api_hash = Egree::ApiMappers::CaseMapper.to_api signature_case = Egree::ApiMappers::CaseOptionsMapper.to_api JSON.pretty_generate signature_case_api_hash.merge() end |