def reload
      response = Epay::Api.request(SUBSCRIPTION_SOAP_URL, 'getsubscriptions', :subscriptionid => id) do |response|
        # API returns a list of subscriptions
        if response.success?
          @data = response.data['subscriptionAry']['SubscriptionInformationType']
          self
        else
          raise(SubscriptionNotFound, "Couldn't find subscription with ID=#{id}")
        end
      end
    end
def reload
      response = Epay::Api.request(SUBSCRIPTION_SOAP_URL, 'getsubscriptions', :subscriptionid => id) do |response|
        # API returns a list of subscriptions
        if response.success?
          @data = response.data['subscriptionAry']['SubscriptionInformationType']
          self
        else
          raise(SubscriptionNotFound, "Couldn't find subscription with ID=#{id}")
        end
      end
    end
Actions