Class: Restspec::Stores::SchemaStoreDelegator

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/restspec/stores/schema_store.rb

Instance Method Summary collapse

Instance Method Details

#get(schema_name) ⇒ Object



10
11
12
# File 'lib/restspec/stores/schema_store.rb', line 10

def get(schema_name)
  self[schema_name]
end

#store(schema) ⇒ Object



6
7
8
# File 'lib/restspec/stores/schema_store.rb', line 6

def store(schema)
  self[schema.name] = schema
end