README.md in oneaccess-0.1.1 vs README.md in oneaccess-0.1.2

- old
+ new

@@ -102,9 +102,39 @@ puts "Not entitled or does not exist" end end ``` +### Symbology Companies _(/symbology/companies)_ +Official Documentation: http://apidocs.oneaccess.io/docs/symbologycompanies + +This method retrieves a list of symbology companies by providing a `IsPrivate`, `PageNumber` and `PageSize`. + +#### How to use: +```ruby +resp = ONEAccess::API::Symbology.companies(is_private: false, page_number: 0, page_size: 20) + +resp #=> instance of ONEAcess::Response::CompaniesResponse +resp.data #=> instance of Array containing ONEAcess::DataObject::CompanyLight + +end +``` + +### Symbology Company _(/symbology/company/:id)_ +Official Documentation: http://apidocs.oneaccess.io/docs/referencescountriesid + +This method retrieves a company by providing an `Id`. + +#### How to use: +```ruby +resp = ONEAccess::API::Symbology.company(id: 1) + +resp #=> instance of ONEAcess::Response::CompanyResponse +resp.data #=> instance of Array containing ONEAcess::DataObject::Company + +end +``` + ### Get Organization by ID _(/organizations/id)_ Official Documentation: http://apidocs.oneaccess.io/docs/organization-2 This method returns an Organization by providing the Organization ID.