Sha256: 784efca7ab411b2ef60dff7b894e5e0e3fc01b9bb5132c968b03a113208d9a9e

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

module Things
  # Things::Todo
  class Tag < Reference::Record
    
    properties :name
    # identifier is required for creation
    identifier :tag
    # collection is used for findings
    collection :tags
   
    class << self
      def all
        convert(Things::App.instance.tags.get)
      end
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
things-client-0.2.4 lib/things/tag.rb
things-client-0.2.3 lib/things/tag.rb
things-client-0.2.2 lib/things/tag.rb
things-client-0.2.1 lib/things/tag.rb