Module: FluentECS::Resource

Included in:
Metadata, Task
Defined in:
lib/fluent_ecs/resource.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/fluent_ecs/resource.rb', line 3

def self.included(base)
  base.include HTTParty
  base.base_uri 'http://localhost:51678/v1'
  base.format :json

  base.extend ClassMethods
end