The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 rivejä
268 B

  1. # frozen_string_literal: true
  2. class REST::ApplicationSerializer < ActiveModel::Serializer
  3. attributes :id, :name, :website, :redirect_uri,
  4. :client_id, :client_secret
  5. def client_id
  6. object.uid
  7. end
  8. def client_secret
  9. object.secret
  10. end
  11. end