Class: Platforms::Yammer::Api::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/platforms/yammer/api/base.rb

Overview

Base class taking care of common setup for Platforms::Yammer::Api classes.

Author:

  • Benjamin Elias

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ Base

Initialize with a Faraday connection

Parameters:

  • connection (Faraday::Connection)

    The connection to use

Since:

  • 0.1.0



12
13
14
# File 'lib/platforms/yammer/api/base.rb', line 12

def initialize connection
  @connection = connection
end