def params
      {}.tap do |param|
        param[:credentials] = options[:credentials]
        param[:page] = page unless page.zero?
        param[:maxPageResults] = options[:per_page]
        param[:initialDate] = options[:starts_at].xmlschema if options[:starts_at]
        param[:finalDate] = options[:ends_at].xmlschema if options[:ends_at]
        param[:interval] = options[:interval] if options[:interval]
      end
    end
def params
      {}.tap do |param|
        param[:credentials] = options[:credentials]
        param[:page] = page unless page.zero?
        param[:maxPageResults] = options[:per_page]
        param[:initialDate] = options[:starts_at].xmlschema if options[:starts_at]
        param[:finalDate] = options[:ends_at].xmlschema if options[:ends_at]
        param[:interval] = options[:interval] if options[:interval]
      end
    end
The params that will be sent