Sha256: ab561ac52ab98eb42931a9b807eb702ac3a41019e7fb104d65ae1f652db66482

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module Shark
  module FormService
    module V2
      class Form < V2::Base
        # @example
        #   form = Shark::FormService::V2::Form.find(id)
        #   form.activate
        #
        # @api public
        def activate
          update(state: 'active')
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bima-shark-sdk-2.4.0 lib/shark/form_service/v2/form.rb
bima-shark-sdk-2.3.1 lib/shark/form_service/v2/form.rb
bima-shark-sdk-2.3.0 lib/shark/form_service/v2/form.rb