g5_integrations_updatable 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c60c0d5d985a175d9ada38975486d12bc7175c98
4
- data.tar.gz: b258da0a18fbf2de172371be432284544e3a4d10
3
+ metadata.gz: 5ab5944f0bd6acf5b41d63d23de3b7fd05dc4926
4
+ data.tar.gz: c7ce64c32239a10bc16917c9e6e0409486958a43
5
5
  SHA512:
6
- metadata.gz: b578302581a8fc1b4bce8181342ca932578e835266fc1b0a82dc394b4aefe36002062cc7756fd0a9d2bdb280a82f453f101a4e6881410d33ca3ea2c1f4372b3e
7
- data.tar.gz: e8e8661347001845b3e3997ccf7302e5870252d80f9c8d3edd0da3e2a2aa3a311b9213001eb5625eff7df52fecb9f3719c3a9d41ffec1f51bb8ec111c3988606
6
+ metadata.gz: 15315234a9631b95e0770e532f9acf15ccf256aedefcfb3d6a415b9fba35467bfd08bb86e255a4e7828e824278a3a13aa0fbe706930931b52e41892c2c098da2
7
+ data.tar.gz: 45321d52d28afff40ab88b592477ad7bbdd4e1343fa78e1949b786e1942d23936d44301c95e3329312b58b83f5dadaec80b8d2a68de85ec81ccd627ba8c54a84
@@ -3,7 +3,7 @@ class G5IntegrationsUpdatable::FeedsController < ApplicationController
3
3
  skip_before_filter :verify_authenticity_token
4
4
 
5
5
  def create
6
- G5IntegrationsUpdatable::FeedProcessor.new(client_setting_uid: params[:client_setting_uid]).process
6
+ G5IntegrationsUpdatable::FeedProcessor.new(feed_url: params[:feed_url]).process
7
7
  render json: {}, status: 201
8
8
  end
9
9
 
@@ -1,9 +1,9 @@
1
1
  module G5IntegrationsUpdatable
2
2
  class FeedProcessor
3
- attr_accessor :client_setting_uid
3
+ attr_accessor :feed_url
4
4
 
5
5
  def initialize(params={})
6
- self.client_setting_uid = params[:client_setting_uid]
6
+ self.feed_url = params[:feed_url]
7
7
  end
8
8
 
9
9
  class << self
@@ -25,7 +25,7 @@ module G5IntegrationsUpdatable
25
25
 
26
26
  private
27
27
  def feed_hash_array
28
- G5IntegrationsUpdatable::FeedFetcher.new(self.client_setting_uid).process
28
+ G5IntegrationsUpdatable::FeedFetcher.new(self.feed_url).process
29
29
  end
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module G5IntegrationsUpdatable
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_integrations_updatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perry Hertler