Class: Kloudless::Team

Inherits:
Model
  • Object
show all
Defined in:
lib/kloudless/team.rb

Overview

Class Method Summary collapse

Methods inherited from Model

http, #http, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Kloudless::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Kloudless::Model

Class Method Details

.list(account_id:, **params) ⇒ Object



4
5
6
7
# File 'lib/kloudless/team.rb', line 4

def self.list(account_id:, **params)
  path = "/accounts/#{}/team"
  Kloudless::Collection.new(self, http.get(path, params: params))
end