Module: Oktakit::Client::Schemas
- Included in:
- Oktakit::Client
- Defined in:
- lib/oktakit/client/schemas.rb
Instance Method Summary collapse
-
#add_property_to_app_user_profile_schema(id, options = {}) ⇒ Hash<Sawyer::Resource>
Add Property to App User Profile Schema.
-
#add_property_to_user_profile_schema(options = {}) ⇒ Hash<Sawyer::Resource>
Add Property to User Profile Schema.
-
#get_app_user_schema(id, options = {}) ⇒ Hash<Sawyer::Resource>
Get App User Schema.
-
#get_user_schema(options = {}) ⇒ Hash<Sawyer::Resource>
Get User Schema.
-
#remove_property_from_app_user_profile_schema(id, options = {}) ⇒ Hash<Sawyer::Resource>
Remove property from App User Profile Schema.
-
#remove_property_from_user_profile_schema(options = {}) ⇒ Hash<Sawyer::Resource>
Remove Property from User Profile Schema.
-
#update_app_user_profile_schema_property(id, options = {}) ⇒ Hash<Sawyer::Resource>
Update App User Profile Schema property.
-
#update_user_profile_schema_property(options = {}) ⇒ Hash<Sawyer::Resource>
Update User Profile Schema Property.
Instance Method Details
#add_property_to_app_user_profile_schema(id, options = {}) ⇒ Hash<Sawyer::Resource>
Add Property to App User Profile Schema
92 93 94 |
# File 'lib/oktakit/client/schemas.rb', line 92 def add_property_to_app_user_profile_schema(id, = {}) post("/meta/schemas/apps/#{id}/default", ) end |
#add_property_to_user_profile_schema(options = {}) ⇒ Hash<Sawyer::Resource>
Add Property to User Profile Schema
30 31 32 |
# File 'lib/oktakit/client/schemas.rb', line 30 def add_property_to_user_profile_schema( = {}) post('/meta/schemas/user/default', ) end |
#get_app_user_schema(id, options = {}) ⇒ Hash<Sawyer::Resource>
Get App User Schema
76 77 78 |
# File 'lib/oktakit/client/schemas.rb', line 76 def get_app_user_schema(id, = {}) get("/meta/schemas/apps/#{id}/default", ) end |
#get_user_schema(options = {}) ⇒ Hash<Sawyer::Resource>
Get User Schema
15 16 17 |
# File 'lib/oktakit/client/schemas.rb', line 15 def get_user_schema( = {}) get('/meta/schemas/user/default', ) end |
#remove_property_from_app_user_profile_schema(id, options = {}) ⇒ Hash<Sawyer::Resource>
Remove property from App User Profile Schema
124 125 126 |
# File 'lib/oktakit/client/schemas.rb', line 124 def remove_property_from_app_user_profile_schema(id, = {}) post("/meta/schemas/apps/#{id}/default", ) end |
#remove_property_from_user_profile_schema(options = {}) ⇒ Hash<Sawyer::Resource>
Remove Property from User Profile Schema
60 61 62 |
# File 'lib/oktakit/client/schemas.rb', line 60 def remove_property_from_user_profile_schema( = {}) post('/meta/schemas/user/default', ) end |
#update_app_user_profile_schema_property(id, options = {}) ⇒ Hash<Sawyer::Resource>
Update App User Profile Schema property
108 109 110 |
# File 'lib/oktakit/client/schemas.rb', line 108 def update_app_user_profile_schema_property(id, = {}) post("/meta/schemas/apps/#{id}/default", ) end |
#update_user_profile_schema_property(options = {}) ⇒ Hash<Sawyer::Resource>
Update User Profile Schema Property
45 46 47 |
# File 'lib/oktakit/client/schemas.rb', line 45 def update_user_profile_schema_property( = {}) post('/meta/schemas/user/default', ) end |