Class: Streamdal::TestObj

Inherits:
Object
  • Object
show all
Includes:
Audiences, Schemas
Defined in:
lib/schema_spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Audiences

#_add_audience, #_add_audiences, #_seen_audience, #aud_to_str, #str_to_aud

Methods included from Schemas

#_get_schema, #_handle_schema, #_set_schema

Constructor Details

#initializeTestObj

Returns a new instance of TestObj.



21
22
23
24
# File 'lib/schema_spec.rb', line 21

def initialize
  @schemas = {}
  @stub = RSpec::Mocks::Double.new("stub", { send_schema: nil })
end

Instance Attribute Details

#stubObject

Returns the value of attribute stub.



19
20
21
# File 'lib/schema_spec.rb', line 19

def stub
  @stub
end

Instance Method Details

#_metadataObject



26
27
28
# File 'lib/schema_spec.rb', line 26

def 
  {}
end