Class: Shark::FormService::V2::FormVersion

Inherits:
Base
  • Object
show all
Defined in:
lib/shark/form_service/v2/form_version.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

site

Methods inherited from Base

site

Methods inherited from Base

add_datetime_accessors

Class Method Details

.table_nameObject



9
10
11
# File 'lib/shark/form_service/v2/form_version.rb', line 9

def self.table_name
  'versions'
end

Instance Method Details

#form_structureObject



13
14
15
# File 'lib/shark/form_service/v2/form_version.rb', line 13

def form_structure
  @form_structure ||= FormService::Form::Structure.new(structure)
end