senseobservationsystems/commonsense-ruby-lib

View on GitHub
lib/cs/end_point/notification.rb

Summary

Maintainability
A
0 mins
Test Coverage
module CS
  module EndPoint
    class Notification
      include EndPoint

      attribute :type, :text, :destination

      resources "notifications"
      resource "notification"

      def initialize(hash={})
        from_hash(hash)
      end
    end
  end
end