Sha256: 827ab2dacb69fa12eb73dbef0c432f4da98188cbafd9d9190c8526c36d0d3b5d

Contents?: true

Size: 416 Bytes

Versions: 6

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

module ZephyrRuby
  class Client
    module Resource
      # Operations related to Folders
      module Folders
        def create_folder(body)
          post '/folders', body
        end

        def get_folder(folder_id)
          get "/folders/#{folder_id}"
        end

        def list_folders(params = {})
          get '/folders', params
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zephyr_ruby-0.5.1 lib/zephyr_ruby/resource/folders.rb
zephyr_ruby-0.5.0 lib/zephyr_ruby/resource/folders.rb
zephyr_ruby-0.4.0 lib/zephyr_ruby/resource/folders.rb
zephyr_ruby-0.3.0 lib/zephyr_ruby/resource/folders.rb
zephyr_ruby-0.2.0 lib/zephyr_ruby/resource/folders.rb
zephyr_ruby-0.1.0 lib/zephyr_ruby/resource/folders.rb