Sha256: 282e276f15d900bb66aeb9bd67fbbe285e157e698758e7721d5b41aa4350f355

Contents?: true

Size: 208 Bytes

Versions: 6

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true

module ActionKitRest
  class List < Base
    def base_path
      'list'
    end

    def find(name)
      response = list(name: name)
      response.obj.first
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
action_kit_rest-0.4.10 lib/action_kit_rest/list.rb
action_kit_rest-0.4.9 lib/action_kit_rest/list.rb
action_kit_rest-0.4.8 lib/action_kit_rest/list.rb
action_kit_rest-0.4.7 lib/action_kit_rest/list.rb
action_kit_rest-0.4.6 lib/action_kit_rest/list.rb
action_kit_rest-0.4.5 lib/action_kit_rest/list.rb