Class: Apiwork::Export::Apiwork

Inherits:
Base
  • Object
show all
Defined in:
lib/apiwork/export/apiwork.rb

Instance Attribute Summary

Attributes inherited from Base

#api, #api_base_path, #options

Instance Method Summary collapse

Methods inherited from Base

content_type_for, export_name, extract_nested_option, extract_nested_option_from_env, extract_options, #extract_options_from_config, extract_options_from_env, file_extension, file_extension_for, generate, hash_output?, #initialize, #key_format, output, #serialize, string_output?, supports_format?, #transform_key, #validate_options!

Methods included from Configurable

define, option

Constructor Details

This class inherits a constructor from Apiwork::Export::Base

Instance Method Details

#generateObject



9
10
11
# File 'lib/apiwork/export/apiwork.rb', line 9

def generate
  ApiworkMapper.map(self, surface)
end