Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

MarioCarrion/teachable-mock

Repository files navigation

Teachable Mock API Wrapper

Build Status Test Coverage

Ruby gem that wraps the Teachable Mock API

Development

This assumes you're using rvm

  1. gem install bundler && bundle install
  2. bundle exec rspec
  3. Profit

Examples

require 'teachable_mock'

user = Teachable::Mock::User.register(email: 'fancy@email.com',
                                      password: 'abcdef12345',
                                      password_confirmation: 'abcdef12345')

order = user.create_order('number'         => 3,
                          'total'          => 10,
                          'total_quantity' => 99)
order.delete

About

Teachable Mock API Wrapper Ruby Gem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages