Sha256: a8a2079d59772dc6e0f138f7783dbabfbc97401ffce25d452e9dd65ba98e188b
Contents?: true
Size: 579 Bytes
Versions: 5
Compression:
Stored size: 579 Bytes
Contents
# frozen_string_literal: true # author: Vadim Shaveiko <@vshaveyko> # :nodoc: class RailsApiDoc::ApiDatum < ActiveRecord::Base # # integer :api_type - request | response # # string :api_action - create | show | edit | ... # string :action_type - destroy | update | create # string :type - param data type # string :name - param name # string :special - special param data # string :desc - description # # text :nesting - model nesting to display # self.inheritance_column = '' serialize :nesting, Array enum api_type: [:request, :response] end
Version data entries
5 entries across 5 versions & 1 rubygems