Sha256: 5f0dfe8b7f6207d339bc5e3f6ea855ef499bab780214c88dd96f8baae1a25602
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
module WerckerAPI class Meta include Virtus.model attribute :username, String attribute :type, String attribute :werckerEmployee, Boolean def wercker_employee werckerEmployee end end class Avatar include Virtus.model attribute :gravatar, String end class Owner include Virtus.model attribute :type, String attribute :userId, String attribute :name, String attribute :avatar, Avatar attribute :meta, Meta def user_id userId end end class User < Owner; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wercker_api-0.1.10 | lib/wercker_api/owner.rb |