instructure / pandarus

A Ruby library for the Canvas API (and code generator for other languages, eventually)
34 stars 25 forks source link

Pandarus::Client.new() error #13

Closed mycargus closed 6 years ago

mycargus commented 9 years ago

This error occurs when I attempt to run rspec on a spec that uses Pandarus::Client.new()

Pandarus::Client.new(
     NoMethodError:
       undefined method `slice' for #<Hash:0x007f95a3661e40>
     # /usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/pandarus-0.6.6/lib/pandarus/client.rb:22:in `initialize'

I'm using ruby 2.1.5p273 on MacOSX 10.10.3.

simonista commented 6 years ago

Can you try with the latest version? I think this is fixed... at least, I've created a client locally, and tests pass.