Class: Ticket::Replicator::Mappings
- Inherits:
-
Object
- Object
- Ticket::Replicator::Mappings
- Defined in:
- lib/ticket/replicator/mappings.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.file_path ⇒ Object
6 7 8 |
# File 'lib/ticket/replicator/mappings.rb', line 6 def self.file_path File.join("config", "ticket-replicator.mappings.yml") end |
Instance Method Details
#to_h ⇒ Object
10 11 12 |
# File 'lib/ticket/replicator/mappings.rb', line 10 def to_h @to_h = YAML.safe_load_file(self.class.file_path, symbolize_names: false) end |