Sha256: 2678bf1078125009f75fe7630314b721a2b392c492a95a6ad981c877ea0c3786

Contents?: true

Size: 204 Bytes

Versions: 3

Compression:

Stored size: 204 Bytes

Contents

module LetsFreckle
  class User < DelegateClass(Hashie::Mash)
    extend ClientResource

    def self.all
      fetch('users')
    end

    def entries
      Entry.find(:people => [id])
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
letsfreckle-client-0.1.2 lib/letsfreckle/user.rb
letsfreckle-client-0.1.1 lib/letsfreckle/user.rb
letsfreckle-client-0.1.0 lib/letsfreckle/user.rb