Class: HappyPdf::Schema
- Inherits:
-
Object
- Object
- HappyPdf::Schema
- Defined in:
- lib/happypdf/schema.rb,
lib/happypdf/version.rb
Constant Summary collapse
- VERSION =
'0.1.5'
Class Method Summary collapse
-
.path(version = 'v1.0') ⇒ Object
Get the path to schema files.
Class Method Details
.path(version = 'v1.0') ⇒ Object
Get the path to schema files. So it can be used f.ex. with json_schema_tools gem
7 8 9 |
# File 'lib/happypdf/schema.rb', line 7 def self.path(version='v1.0') File.( File.join('../../schema', version), File.dirname(__FILE__)) end |