lib/openstax/exchange/exchange.rb in openstax_exchange-0.0.2 vs lib/openstax/exchange/exchange.rb in openstax_exchange-0.1.0
- old
+ new
@@ -25,15 +25,15 @@
def self.use_real_client?
!!@use_real_client
end
- def self.create_identifier
+ def self.create_identifiers
begin
- client.create_identifier
+ client.create_identifiers
rescue StandardError => error
- raise ClientError.new("create_identifier failure", error)
+ raise ClientError.new("create_identifiers failure", error)
end
end
def self.record_multiple_choice_answer(*args)
begin
@@ -60,6 +60,6 @@
FakeClient.new configuration
end
end
end
-end
\ No newline at end of file
+end