Class: DiscourseSubscriptionClient::SupplierSerializer

Inherits:
ApplicationSerializer
  • Object
show all
Defined in:
app/serializers/discourse_subscription_client/supplier_serializer.rb

Instance Method Summary collapse

Instance Method Details

#authorizedObject



13
14
15
# File 'app/serializers/discourse_subscription_client/supplier_serializer.rb', line 13

def authorized
  object.api_key.present? && object.authorized_at.present?
end