Teachable Mock API Wrapper Ruby Gem
Ruby gem that wraps the Teachable Mock API
This assumes you’re using rvm
gem install bundler && bundle install
bundle exec rspec
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