Class: AirbyteRuby::Resources::Base

Inherits:
Object
  • Object
show all
Includes:
AirbyteRuby::Requests
Defined in:
lib/airbyte_ruby/resources/base.rb

Overview

Base class for Airbyte Resources TODO: Move to module rather than class

Direct Known Subclasses

Connection, Destination, Source

Instance Method Summary collapse

Instance Method Details

#fetchObject

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/airbyte_ruby/resources/base.rb', line 22

def fetch
  raise NotImplementedError
end

#fetch_allObject

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/airbyte_ruby/resources/base.rb', line 14

def fetch_all
  raise NotImplementedError
end

#newObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/airbyte_ruby/resources/base.rb', line 18

def new
  raise NotImplementedError
end

#removeObject

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/airbyte_ruby/resources/base.rb', line 26

def remove
  raise NotImplementedError
end

#to_json(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/airbyte_ruby/resources/base.rb', line 10

def to_json(*_args)
  raise NotImplementedError
end