examples/file_test.rb in ncmb-ruby-client-0.1.6 vs examples/file_test.rb in ncmb-ruby-client-0.1.7

- old
+ new

@@ -11,11 +11,11 @@ NCMB.initialize( application_key: yaml['application_key'], client_key: yaml['client_key'] ) -f = NCMB::NFile.new('http://mb.cloud.nifty.com/assets/images/logo.png') +f = NCMB::NFile.new('https://mbaas.nifcloud.com/assets/images/logo.png') f.acl.public('read', true) f.acl.public('write', true) f.fileName = 'test.png' f.save() puts 'Uploaded' @@ -23,10 +23,10 @@ f.update() puts 'Updated' f.delete() puts 'Deleted' -f = NCMB::NFile.new('http://mb.cloud.nifty.com/assets/images/logo.png') +f = NCMB::NFile.new('https://mbaas.nifcloud.com/assets/images/logo.png') f.acl.public('read', true) f.acl.public('write', true) f.fileName = 'test.png' f.save() file = NCMB::NFile.new('test.png')