Class: Emites::Resources::Base

Inherits:
Object
  • Object
show all
Extended by:
Hooks
Includes:
Wisper::Publisher
Defined in:
lib/emites/resources/base.rb

Direct Known Subclasses

Emitter, Nfse, Service, Taker, Webhook

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Hooks

notify

Constructor Details

#initialize(http) ⇒ Base

Returns a new instance of Base.



11
12
13
# File 'lib/emites/resources/base.rb', line 11

def initialize(http)
  @http = http
end

Instance Attribute Details

#httpObject

Returns the value of attribute http.



9
10
11
# File 'lib/emites/resources/base.rb', line 9

def http
  @http
end