Sha256: 0721acdaf50ce9120bb48dca87d8fd0a532407f8e32af23be6f93630e5fac061
Contents?: true
Size: 866 Bytes
Versions: 1
Compression:
Stored size: 866 Bytes
Contents
# frozen_string_literal: true module Tikkie module Api module V1 module Responses # Response when requesting a platform. class Platform < Base def platform_token data[:platformToken] end def name data[:name] end def phone_number data[:phoneNumber] end def email data[:email] end def notification_url data[:notificationUrl] end # see PlatformStatus def status data[:status] end def active? status == Tikkie::Api::V1::Types::PlatformStatus::ACTIVE end # see PlatformUsage def platform_usage data[:platformUsage] end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tikkie-api-2.0.0 | lib/tikkie/api/v1/responses/platform.rb |