Sha256: e3af864beebc6e79efc92eea0349620f80d7b0e35aa5c5612cdb07c1aca5108e

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require_relative 'where_filter'
module AmoCRM::Resources
  class Subresource < Struct.new(:items)
    include WhereFilter

    def find uuid
      findWhere uuid: uuid
    end

    def all
      items
    end

    private

    def values
      items
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amo_crm-0.2.2 lib/amo_crm/resources/subresource.rb