# REST API vs. the Ruby API

**URL:** <https://meta.discourse.org/t/rest-api-vs-the-ruby-api/108654>\
**Category:** Development\
**Created:** [February 8, 2019, 2:34am UTC](https://meta.discourse.org/t/rest-api-vs-the-ruby-api/108654 "2019-02-08T02:34:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)\
**Post date:** [February 8, 2019, 2:34am UTC](https://meta.discourse.org/t/rest-api-vs-the-ruby-api/108654/1 "2019-02-08T02:34:52Z")

</div>

Is it safe to assume there is not a 1 to 1 mapping, i.e. the Ruby API does not do everything the REST API can do?

I did not see a way to update a user’s group notification level, so tried to write the method:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/d/bd7a6d2d1c4f58d3421dee1ea9e7ec308ab1bcfe.png)

Am I on the right track here? If so, where do I place the method so it has access to the _post_ method? Any examples I could reference on how this works, as I’m somewhat new to RoR.

---

_[View the full topic](https://meta.discourse.org/t/rest-api-vs-the-ruby-api/108654)._
