plex-ruby 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/plex-ruby/section.rb +2 -2
- data/lib/plex-ruby/version.rb +1 -1
- metadata +1 -1
data/lib/plex-ruby/section.rb
CHANGED
@@ -65,10 +65,10 @@ module Plex
|
|
65
65
|
CATEGORIES.each { |method|
|
66
66
|
class_eval %(
|
67
67
|
def #{Plex.snake_case(method)}s
|
68
|
-
@#{Plex.snake_case(method)}s ||= grab_keys('#{method})
|
68
|
+
@#{Plex.snake_case(method)}s ||= grab_keys('#{method}')
|
69
69
|
end
|
70
70
|
def #{Plex.snake_case(method)}s!
|
71
|
-
@#{Plex.snake_case(method)}s = grab_keys('#{method})
|
71
|
+
@#{Plex.snake_case(method)}s = grab_keys('#{method}')
|
72
72
|
end
|
73
73
|
def by_#{Plex.snake_case(method)}(val)
|
74
74
|
Plex::Parser.new( self, Nokogiri::XML(open(url+key+"/#{method}/\#{val}")) ).parse
|
data/lib/plex-ruby/version.rb
CHANGED