hellosign / hellosign-ruby-sdk

A Ruby SDK for HelloSign's API
MIT License
52 stars 61 forks source link

NoMethodError: undefined method `<<' for #<Hash:0x00007fdbaa5591b8> Did you mean? < #120

Open curtiskim808 opened 4 years ago

curtiskim808 commented 4 years ago

Hi, i'm having this error when I call the HelloSign create_embedded_template_draft through service in my test.


        VCR.use_cassette("hello_sign_service") do
          @embeeded_template_draft = HelloSignService.create_embedded_template_draft(@file2.tempfile, {signer_roles: [{name: "TEST ROLE1"}, {name: "TEST ROLE2"}]})
          # @embedded_template_draft = HelloSign.create_embedded_template_draft({});
          expect(@embedded_template_draft).to be_an HelloSign::Resource::TemplateDraft
        end

      end