Sha256: 4661448dbfa6ff9390eea5de921cb2e4df66cbdf513b88cc261cf05feb1df490
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
module Activite # A Response is used to represent an empty API response with a status # code and no additional information. class Response # @return [Integer] attr_reader :status def initialize(attrs = {}) @status = attrs['status'].to_i if attrs.has_key? 'status' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activite-0.2.0 | lib/activite/response.rb |