Sha256: 22a0378fa1dd5c9cb39f018f282f61536fe153b419b71d407f475c277893e4e2
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
module Washbullet class Entity attr_reader :body def initialize(response_body) @body = response_body end def created Time.at(body['created']) end def modified Time.at(body['modified']) end private def receiver raise NotImplementedError end def identifier raise NotImplementedError end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
washbullet-0.4.0 | lib/washbullet/entity.rb |