Class: Jets::Resource::Base

Inherits:
Object
  • Object
show all
Extended by:
Memoist
Defined in:
lib/jets/resource/base.rb

Instance Method Summary collapse

Instance Method Details

#replacementsObject



24
25
26
# File 'lib/jets/resource/base.rb', line 24

def replacements
  @replacements || {}
end

#resourceObject



19
20
21
# File 'lib/jets/resource/base.rb', line 19

def resource
  Jets::Resource.new(definition, replacements)
end