Last active
August 29, 2015 14:05
-
-
Save kibaekr/26135a22eef7c46bb564 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kibaeks-MacBook-Pro:onvard_saas kibaek$ rails c | |
Loading development environment (Rails 3.2.17) | |
[1] pry(main)> sc = ScormCloud::ScormCloud.new("23Z8XTPJ0Z","xCalRn4voMjyHJGARV2XgZv4cnI2CRDhp1dNTNFYex") | |
=> #<ScormCloud::ScormCloud:0x0000010b5b5b88 | |
@appid="23Z8XTPJ0Z", | |
@secret="xCalRn4voMjyHJGARV2XgZv4cnI2CRDhp1dNTNFYex"> | |
[2] pry(main)> sc.course | |
=> #<ScormCloud::CourseService:0x0000010b5dd7a0 | |
@connection= | |
#<ScormCloud::ScormCloud:0x0000010b5b5b88 | |
@appid="23Z8XTPJ0Z", | |
@course=#<ScormCloud::CourseService:0x0000010b5dd7a0 ...>, | |
@secret="```secret```">> | |
[3] pry(main)> sc.course.get_course_list | |
NoMethodError: undefined method `request_uri' for #<URI::Generic:0x0000010b60fed0> | |
from /Users/kibaek/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/net/http/generic_request.rb:19:in `initialize' | |
[4] pry(main)> ENV['SCORM_CLOUD_URL'] | |
=> "http://cloud.scorm.com" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment