./lib/animoto/client.rb in animoto-0.0.0.alpha6 vs ./lib/animoto/client.rb in animoto-0.0.0.alpha7
- old
+ new
@@ -194,10 +194,10 @@
# @param [Manifest] manifest the manifest being acted on
# @param [String] endpoint the endpoint to send the request to
# @param [Hash] options
# @return [Hash] deserialized response body
def send_manifest manifest, endpoint, options = {}
- u = URI.parse(endpoint)
+ u = URI.parse(self.endpoint)
u.path = endpoint
request(
:post,
u.to_s,
response_parser.unparse(manifest.to_hash),
\ No newline at end of file