Sha256: 217daaf8aa963f7b6e54fa1ca17dfe482ca5a81a1ceed8b6cb6cac8c4353974a

Contents?: true

Size: 228 Bytes

Versions: 4

Compression:

Stored size: 228 Bytes

Contents

module Norseal
  module Api
    module Model
      extend ActiveSupport::Concern

      included do
        use_api Norseal::Api.api
        parse_root_in_json true, format: :active_model_serializers
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
norseal-api-0.1.7 lib/norseal/api/model.rb
norseal-api-0.1.6 lib/norseal/api/model.rb
norseal-api-0.1.5 lib/norseal/api/model.rb
norseal-api-0.1.4 lib/norseal/api/model.rb