···39 alias did repo
4041 # @return [String] path part of the record URI (collection + rkey)
042 def path
000000043 @json['path']
44 end
45
···39 alias did repo
4041 # @return [String] path part of the record URI (collection + rkey)
42+ # @deprecated Use {#collection} + {#rkey}
43 def path
44+ @@path_warning_printed ||= false
45+46+ unless @@path_warning_printed
47+ $stderr.puts "Warning: Skyfall::Firehose::Operation#path is deprecated - use #collection + #rkey"
48+ @@path_warning_printed = true
49+ end
50+51 @json['path']
52 end
53
+8
lib/skyfall/jetstream/operation.rb
···39 alias did repo
4041 # @return [String] path part of the record URI (collection + rkey)
042 def path
000000043 @json['collection'] + '/' + @json['rkey']
44 end
45
···39 alias did repo
4041 # @return [String] path part of the record URI (collection + rkey)
42+ # @deprecated Use {#collection} + {#rkey}
43 def path
44+ @@path_warning_printed ||= false
45+46+ unless @@path_warning_printed
47+ $stderr.puts "Warning: Skyfall::Jetstream::Operation#path is deprecated - use #collection + #rkey"
48+ @@path_warning_printed = true
49+ end
50+51 @json['collection'] + '/' + @json['rkey']
52 end
53