Sha256: b03d88a03f5196c25565d5a26471ceb17aa3513890e49a76746e1ada05f1e625

Contents?: true

Size: 468 Bytes

Versions: 3

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Clients
      class Actions < Base
        include Kentaa::Api::Clients::All

        def list(options = {})
          actions = Kentaa::Api::Resources::Actions.new(config, options)
          actions.load
        end

        def get(id, options = {})
          action = Kentaa::Api::Resources::Action.new(config, options.merge(id: id))
          action.load
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentaa-api-0.3.2 lib/kentaa/api/clients/actions.rb
kentaa-api-0.3.1 lib/kentaa/api/clients/actions.rb
kentaa-api-0.3.0 lib/kentaa/api/clients/actions.rb