Sha256: 74030b83b166e16934ee01af570e47219b2f459a64ceef84c274c44a00f71a56

Contents?: true

Size: 353 Bytes

Versions: 8

Compression:

Stored size: 353 Bytes

Contents

module HqueryPatientApi
  class Generator
    @@ctx = nil

    def self.ctx 
      unless @@ctx
        @@ctx = Sprockets::Environment.new(File.expand_path("../../../", __FILE__))
        @@ctx.append_path "app/assets/javascripts"
      end
      @@ctx
    end

    def self.patient_api_javascript
      self.ctx.find_asset('patient')
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hquery-patient-api-1.1.1 lib/hquery/generator.rb
hquery-patient-api-1.1.0 lib/hquery/generator.rb
hquery-patient-api-1.0.4 lib/hquery/generator.rb
hquery-patient-api-1.0.3 lib/hquery/generator.rb
hquery-patient-api-1.0.2 lib/hquery/generator.rb
hquery-patient-api-1.0.1 lib/hquery/generator.rb
hquery-patient-api-1.0.0 lib/hquery/generator.rb
hquery-patient-api-0.3.0 lib/hquery/generator.rb